Re: psql's is_select_command is naive

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql's is_select_command is naive
Дата
Msg-id 201005282239.o4SMdP808532@momjian.us
обсуждение исходный текст
Ответ на Re: psql's is_select_command is naive  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas wrote:
> 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.

I have added the following TODO:
       Fix FETCH_COUNT to handle SELECT ... INTO and WITH queries       *
http://archives.postgresql.org/pgsql-hackers/2010-05/msg01565.php      *
http://archives.postgresql.org/pgsql-bugs/2010-05/msg00192.php

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: tsvector pg_stats seems quite a bit off.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Clearing psql's input buffer after auto-reconnect