Re: psql metaqueries with \gexec

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql metaqueries with \gexec
Дата
Msg-id 7569.1459715174@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql metaqueries with \gexec  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: psql metaqueries with \gexec  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Jim, can you re-review this?

I'm not Jim, but I have a question: what's the motivation for the
Fortran-order traversal of the result (down rows before across columns)?
It seems less than intuitive to do it that way.  Perhaps there's a good
reason, but I do not see any defense of this choice in the thread.

I also note that the patch seems to be missing resetting gexec_flag
in some error exit paths, possibly allowing the \gexec to be applied
to the next query unexpectedly.  It should clear that in all the same
places where gfname or gset_prefix get cleared.
        regards, tom lane



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

Предыдущее
От: Alex Shulgin
Дата:
Сообщение: Re: More stable query plans via more predictable column statistics
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby