Re: Disallow unique index on system columns - Mailing list pgsql-hackers

From David Rowley
Subject Re: Disallow unique index on system columns
Date
Msg-id CAKJS1f8H+nEDa+wDPKbxSzOwcJU-TngQ9swpTKt6u4f=df60Yw@mail.gmail.com
Whole thread Raw
In response to Re: Disallow unique index on system columns  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Disallow unique index on system columns
Re: Disallow unique index on system columns
List pgsql-hackers
On 15 April 2016 at 13:43, David Rowley <david.rowley@2ndquadrant.com> wrote:
> The attached patch just disallows any index containing a system
> column, apart from OID.

Seems I only did half the job as I forgot to think to check for system
columns that are hidden away inside expressions or predicates.

The attached fixes that.

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [COMMITTERS] pgsql: Add regression tests for multiple synchronous standbys.
Next
From: Petr Jelinek
Date:
Subject: Re: Pglogical questions and problems