Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access
Дата
Msg-id CAEudQAr_71CR6w1aHNHk4T=FDvwu9YVSBubtEP3B=sik8XesKw@mail.gmail.com
обсуждение исходный текст
Ответы Re: BUG #17877: Referencing a system column in a foreign key leads to incorrect memory access  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: regression coverage gaps for gist and hash indexes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: SQL/JSON revisited