Re: psql metaqueries with \gexec
От | Corey Huinker |
---|---|
Тема | Re: psql metaqueries with \gexec |
Дата | |
Msg-id | CADkLM=cf3s1O4+74SeTrHzPvdmRKdOifqxnSLdpUiunY7zXW_g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: psql metaqueries with \gexec (Corey Huinker <corey.huinker@gmail.com>) |
Ответы |
Re: psql metaqueries with \gexec
|
Список | pgsql-hackers |
On Sun, Apr 3, 2016 at 8:42 PM, Corey Huinker <corey.huinker@gmail.com> wrote:
On Sun, Apr 3, 2016 at 7:43 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:Corey Huinker <corey.huinker@gmail.com> writes:
>>> + The secondary queries are executed in top-to-bottom,
>>> left-to-right order, so the command
>> I took that as meaning what I said above.
> Would using the term https://en.wikipedia.org/wiki/Row-major_order be more
> clear?
Meh, I suspect a lot of people don't know that term. Perhaps something
like "The generated queries are executed in the order in which the rows
are returned, and left-to-right within each row if there is more than one
column."
regards, tom laneI like it. Change forthcoming.
Changes since last submission:
Patch attached. Changes are thus:
- rebased
- pset.gexec_flag unconditionally set to false at end of SendQuery
- wording of documentation describing execution order of results
- rebasing allowed for undoing the re-wrap of enumerated slash commands.
Still not changed:
- exuberant braces, can remove if someone wants me to
Вложения
В списке pgsql-hackers по дате отправления: