Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)

From: Kevin Grittner <kgrittn(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
Date: 2016-09-02 16:04:20
Message-ID: CACjxUsP7v6fx4nn0sGkeWxMi3jUfQRSHj5yo4s64HXZ+NFa-KQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 2, 2016 at 10:10 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> 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 ...

An assumption that not infrequently breaks. AFAIK, we generally
adjust the tests when that happens, rather than considering it a
bug in the code. I never thought we did that because there was a
secret, undocumented guarantee of order, but to allow different
code paths to be tested than we would test if we always specified
an order.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Maksim Milyutin 2016-09-02 16:07:25 Re: [WIP] Patches to enable extraction state of query execution from external session
Previous Message Anderson Carniel 2016-09-02 16:02:49 Re: What is the posix_memalign() equivalent for the PostgreSQL?