Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
От | Tom Lane |
---|---|
Тема | Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling) |
Дата | |
Msg-id | 11835.1472829054@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling) (Kevin Grittner <kgrittn@gmail.com>) |
Ответы |
Re: Implement targetlist SRFs using ROWS FROM() (was
Changed SRF in targetlist handling)
Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling) |
Список | pgsql-hackers |
Kevin Grittner <kgrittn@gmail.com> writes: > On Fri, Sep 2, 2016 at 9:51 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> regression=# select *, generate_series(1,3) from int8_tbl; > I'm sure that you realize that running a query of that form twice > against a table with more than one heap page could result in rows > in a different order, even if no changes had been made to the > database (including no vacuum activity, auto- or otherwise). You missed my point: they might complain about the generate_series output not being in the order they expect, independently of what the table rows are. Also, before getting too high and mighty with users who expect "select * from table" to produce rows in a predictable order, you should reflect on the number of places in our regression tests that assume exactly that ... regards, tom lane
В списке pgsql-hackers по дате отправления: