Re: psql's is_select_command is naive

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: psql's is_select_command is naive
Дата
Msg-id AANLkTin_kW-nlZWEpF_X49RBtsc7sNEP_u-QwWz2zsDP@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql's is_select_command is naive  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: psql's is_select_command is naive  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Wed, May 26, 2010 at 10:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

I suspect that would make a lot of people very happy.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql's is_select_command is naive
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Synchronization levels in SR