Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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'.

res=PQexec(conn,"create table aaa (num int4); create table bbb (num
char);" );
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

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group