Re: PostgreSQL 12 Beta 1 press release draft - Mailing list pgsql-hackers

From Jonathan S. Katz
Subject Re: PostgreSQL 12 Beta 1 press release draft
Date
Msg-id 6835a96b-7d2a-3c13-4944-3e4672ef45f4@postgresql.org
Whole thread Raw
In response to Re: PostgreSQL 12 Beta 1 press release draft  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: PostgreSQL 12 Beta 1 press release draft  (Pantelis Theodosiou <ypercube@gmail.com>)
List pgsql-hackers
On 5/23/19 1:45 AM, David Rowley wrote:
> On Thu, 23 May 2019 at 15:31, Jonathan S. Katz <jkatz@postgresql.org> wrote:
>> Attached is
>> v3 of the patch, along with a diff.
>
> Minor details, but this query is not valid:
>
>> WITH c AS MATERIALIZED (
>>   SELECT * FROM a WHERE a.x % 4
>> )
>> SELECT * FROM c JOIN d ON d.y = a.x;
>
> a.x % 4 is not a boolean clause, and "a" is not in the main query, so
> a.x can't be referenced there.

...that's the only gotcha I'm actually embarrassed about. Fixed.

Thanks,

Jonathan


Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Read-only access to temp tables for 2PC transactions
Next
From: Amit Khandekar
Date:
Subject: Re: Minimal logical decoding on standbys