Re: psql's is_select_command is naive

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: psql's is_select_command is naive
Дата
Msg-id 20100527021946.GJ21875@tamriel.snowman.net
обсуждение исходный текст
Ответ на psql's is_select_command is naive  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> For now, we can probably get by with just adding those to the list of
> things it checks for.  But I wonder what we'll do about this if we
> ever get CTEs for insert/update/delete statements...  you'd have to
> parse the whole darn thing to figure out whether it was WITH...SELECT
> or WITH...INSERT or WITH...INSERT...RETURNING.

Would be nice if it could just ask the backend if it's planning to send
back some data. :)
Stephen

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: exporting raw parser
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq should not be using SSL_CTX_set_client_cert_cb