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

From Corey Huinker
Subject Re: psql: Add command to use extended query protocol
Date
Msg-id CADkLM=eyhOzpdh=ozhKRJ0AHeHXkXHZz6LHNedSecYfxUPdF4g@mail.gmail.com
Whole thread Raw
In response to psql: Add command to use extended query protocol  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: psql: Add command to use extended query protocol
List pgsql-hackers

     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?

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Code checks for App Devs, using new options for transaction behavior
Next
From: Michael Paquier
Date:
Subject: Incorrect include file order in guc-file.l