Bug or not ? - Mailing list pgsql-bugs

From Fomichev Michael
Subject Bug or not ?
Date
Msg-id Pine.LNX.4.04.9905261402350.2103-100000@ns.region.utsr
Whole thread Raw
List 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 ?



pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: Two digit years are inconsistant in psql
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] General Bug Report: Correction: pg_dump sets quotes wrong when dumping groups-acls.