Re: [GENERAL] Thing that makes me go "Hmmm"
От | Marcin Grondecki |
---|---|
Тема | Re: [GENERAL] Thing that makes me go "Hmmm" |
Дата | |
Msg-id | 372EDFEC.854A8CBD@mtl.pl обсуждение исходный текст |
Ответ на | Thing that makes me go "Hmmm" (Bruce Tong <zztong@laxmi.ev.net>) |
Ответы |
Re: [GENERAL] Thing that makes me go "Hmmm"
|
Список | pgsql-general |
drop table mytemp; (just to be sure) check for existence of file "mytemp" in database directory; if you found it - remove recreate table. this should work... cu Bruce Tong wrote: > > I've been using PostgreSQL for a while on a project, and I needed to drop > into psql just to try out some SQL to use in a program. Turns out > everytime I try to create a simple table, it fails, but not in the same > way... > > CREATE TABLE mytemp > ( > id integer unique not null, > mystr varchar(50) > ); > > Variation #1 says "ERROR: cannot create mytemp" > > Variation #2 says "pqReadData() -- backend closed the channel > unexpectedly." > > I even destroyed and recreated the database thinking I've messed that up. > I've also restarted the postmaster. > > I've probably forgotten something obvious, at least I hope that's the > case, but since its had me stumped for 30 minutes I thought I'd ask for > help. I'm using version 6.4.2. > > Bruce Tong | Got me an office; I'm there late at night. > Systems Programmer | Just send me e-mail, maybe I'll write. > Electronic Vision / FITNE | > zztong@laxmi.ev.net | -- Joe Walsh for the 21st Century -- Marcin Grondecki ojciec@mtl.pl (604)468725 *** I'm not a complete idiot - some parts are missing
В списке pgsql-general по дате отправления: