IMHO the current behavior is broken:

decibel@decina:[17:46]~/pgsql/HEAD/i$bin/psql -c 'select 1' -c 'select 2'
?column?
----------
       2
(1 row)

Another try with one -c but with similar results:

  sh> psql -c "SELECT 1; SELECT 'hello';"
    ?column?
    ----------
    hello
    (1 row)

  sh> psql -V
    psql (PostgreSQL) 9.3.1

--
Fabien.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to