From: | Marcin Grondecki <ojciec(at)mtl(dot)pl> |
---|---|
To: | Bruce Tong <zztong(at)laxmi(dot)ev(dot)net> |
Cc: | PostgreSQL General <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] Thing that makes me go "Hmmm" |
Date: | 1999-05-04 11:54:20 |
Message-ID: | 372EDFEC.854A8CBD@mtl.pl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)laxmi(dot)ev(dot)net | -- Joe Walsh for the 21st Century
--
Marcin Grondecki
ojciec(at)mtl(dot)pl
(604)468725
*** I'm not a complete idiot - some parts are missing
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Tong | 1999-05-04 14:34:10 | Re: [GENERAL] Thing that makes me go "Hmmm" |
Previous Message | Bogus User | 1999-05-04 08:13:46 | ODBC with 6.5beta1 |