Re: psql's is_select_command is naive - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql's is_select_command is naive
Date
Msg-id 6701.1274927713@sss.pgh.pa.us
Whole thread Raw
In response to psql's is_select_command is naive  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: psql's is_select_command is naive
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> It knows that queries beginning with "select" or "values" are select
> commands, but it seems not to be clued in about "table" and "with".

What we really ought to do IMO is throw out the entire current
implementation of fetch_count.  If libpq exposed access to the
protocol-level fetch count, we could implement it without this
cursor kluge.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Synchronization levels in SR
Next
From: Robert Haas
Date:
Subject: Re: psql's is_select_command is naive