Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access
Date
Msg-id CAEudQAr_71CR6w1aHNHk4T=FDvwu9YVSBubtEP3B=sik8XesKw@mail.gmail.com
Whole thread Raw
Responses Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

I think that commit f0d65c0 has an oversight.

Attnum == 0, is system column too, right?

All other places at tablecmds.c, has this test:

if (attnum <= 0)
    ereport(ERROR,

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: regression coverage gaps for gist and hash indexes
Next
From: Alvaro Herrera
Date:
Subject: Re: SQL/JSON revisited