Re: interactive oddity for psql -c "cmd; cmd;"

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>, pghackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: interactive oddity for psql -c "cmd; cmd;"
Date: 2000-06-08 17:09:16
Message-ID: Pine.LNX.4.21.0006081908220.23619-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-08 17:11:03 Re: [HACKERS] INSTALL/install.sgml file
Previous Message Bruce Momjian 2000-06-08 17:09:03 Re: crashed odbc in CVS