Bug or not ?

From: Fomichev Michael <fomichev(at)null(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug or not ?
Date: 1999-05-26 01:21:06
Message-ID: Pine.LNX.4.04.9905261402350.2103-100000@ns.region.utsr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I'm writing a C program using libpq.
The part of code:

res=PQexec(conn,"create table aaa (num int4); insert into aaa (5);" );

PostgreSQL returns error: "table aaa does not exist"
And table aaa is not created.

Same error appears if to write a 'select * from aaa' instead 'insert'.

BUT
res=PQexec(conn,"create table aaa (num int4); create table bbb (num
char);" );
OR
res=PQexec(conn,"create table aaa (num int4); drop table aaa;" );

are work OK. Tables are created and dropped.

Is it bug, or not ?

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 1999-05-26 19:35:07 Re: [BUGS] General Bug Report: Correction: pg_dump sets quotes wrong when dumping groups-acls.
Previous Message Unprivileged user 1999-05-21 21:37:12 General Bug Report: Two digit years are inconsistant in psql