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

From Peter Eisentraut
Subject Re: interactive oddity for psql -c "cmd; cmd;"
Date
Msg-id Pine.LNX.4.21.0006081908220.23619-100000@localhost.localdomain
Whole thread Raw
In response to Re: interactive oddity for psql -c "cmd; cmd;"  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:

> > % psql -d viewsdb -c "insert into foo(i) values (1); insert into foo(i)
> > values (2);"
> > INSERT 9968065 1

> The query is sent as one string, and only one return is sent back.  It
> has always been that way.

Which can be construed as a semi-feature because that's the only way to
get unencumbered strings from psql to the backend.

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: INSTALL/install.sgml file
Next
From: Bruce Momjian
Date:
Subject: Re: crashed odbc in CVS