Re: Multiple psql -c / -f options

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Jim Nasby <jim(at)nasby(dot)net>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Multiple psql -c / -f options
Date: 2013-10-18 06:19:24
Message-ID: alpine.DEB.2.02.1310180815280.17910@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> IMHO the current behavior is broken:
>
> decibel(at)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message KONDO Mitsumasa 2013-10-18 06:28:58 Re: Compression of full-page-writes
Previous Message Dean Rasheed 2013-10-18 05:34:38 Re: psql tab completion for updatable foreign tables