David Rowley <david.row...@2ndquadrant.com> writes: > On 15 April 2016 at 13:43, David Rowley <david.row...@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.
Pushed. I moved the check into DefineIndex, as that's where user-facing complaints about indexes generally ought to be. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers