Re: psql FETCH_COUNT feature does not work with combined queries - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: psql FETCH_COUNT feature does not work with combined queries
Date
Msg-id alpine.DEB.2.21.1907261608270.327@lancre
Whole thread Raw
In response to psql FETCH_COUNT feature does not work with combined queries  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: psql FETCH_COUNT feature does not work with combined queries  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
> FETCH_COUNT does not work with combined queries, and probably has never 
> worked since 2006.

For the record, this bug has already been reported & discussed by Daniel 
Vérité a few months back, see:

https://www.postgresql.org/message-id/flat/a0a854b6-563c-4a11-bf1c-d6c6f924004d%40manitou-mail.org

Given the points of view expressed on this thread, especially Tom's view 
against improving the lexer used by psql to known where query ends, it 
looks that my documentation patch is the way to go in the short term, and 
that if the "always show query results" patch is committed, it might 
simplify a bit solving this issue as the PQexec call is turned into 
PQsendQuery.


-- 
Fabien.

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Next
From: Ryan Lambert
Date:
Subject: Re: Built-in connection pooler