Re: psql: Add command to use extended query protocol - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql: Add command to use extended query protocol
Date
Msg-id c509d592-d6a8-92a6-008c-45e2d67a6e56@enterprisedb.com
Whole thread Raw
In response to Re: psql: Add command to use extended query protocol  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: psql: Add command to use extended query protocol
List pgsql-hackers
On 02.11.22 01:18, Corey Huinker wrote:
> 
>           SELECT $1, $2 \gp 'foo' 'bar'
> 
> 
> I think this is a great idea, but I foresee people wanting to send that 
> output to a file or a pipe like \g allows. If we assume everything after 
> the \gp is a param, don't we paint ourselves into a corner?

Any thoughts on how that syntax could be generalized?



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Next
From: Melanie Plageman
Date:
Subject: Re: heapgettup refactoring