interactive oddity for psql -c "cmd; cmd;" - Mailing list pgsql-hackers

From Ed Loehr
Subject interactive oddity for psql -c "cmd; cmd;"
Date
Msg-id 393FCCF4.A1EAB76B@austin.rr.com
Whole thread Raw
Responses Re: interactive oddity for psql -c "cmd; cmd;"  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
I would think this should echo *two* "INSERT <oid> 1" messages, instead
of just 1.

% createdb viewsdb 
CREATE DATABASE
% psql -d viewsdb -c "create table foo(i integer); create table bar(j
integer);"
CREATE
% psql -d viewsdb -c "insert into foo(i) values (1); insert into foo(i)
values (2);"
INSERT 9968065 1
% psql -d viewsdb -c "select * from foo;"i 
---12
(2 rows)

% psql -d viewsdb -c "select oid from foo;"  oid   
---------99680649968065
(2 rows)


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: crashed odbc in CVS
Next
From: Bruce Momjian
Date:
Subject: Re: crashed odbc in CVS