| From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Disallow unique index on system columns |
| Date: | 2016-04-15 04:20:25 |
| Message-ID: | CAKJS1f8H+nEDa+wDPKbxSzOwcJU-TngQ9swpTKt6u4f=df60Yw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 15 April 2016 at 13:43, David Rowley <david(dot)rowley(at)2ndquadrant(dot)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 | Content-Type | Size |
|---|---|---|
| disallow_index_on_syscols_v2.patch | application/octet-stream | 10.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Petr Jelinek | 2016-04-15 04:28:14 | Re: Pglogical questions and problems |
| Previous Message | Michael Paquier | 2016-04-15 04:12:23 | Re: [COMMITTERS] pgsql: Add regression tests for multiple synchronous standbys. |