Re: Multiple psql -c / -f options - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Multiple psql -c / -f options
Date
Msg-id alpine.DEB.2.02.1310180815280.17910@sto
Whole thread Raw
In response to Multiple psql -c / -f options  (Jim Nasby <jim@nasby.net>)
Responses Re: Multiple psql -c / -f options
List pgsql-hackers
> 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.



pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: psql tab completion for updatable foreign tables
Next
From: KONDO Mitsumasa
Date:
Subject: Re: Compression of full-page-writes