Protection lost in expression eval changeover

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Protection lost in expression eval changeover
Дата
Msg-id 16803.1490723570@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Protection lost in expression eval changeover  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
CheckVarSlotCompatibility contains the comment
 * Note: we allow a reference to a dropped attribute.  slot_getattr will * force a NULL result in such cases.

While still true, that second sentence is now quite irrelevant, because we
don't go through slot_getattr anymore.  So it seems like we are missing
some needed protection.  I'm inclined to think that it'd be all right to
just throw an error immediately in CheckVarSlotCompatibility if the
target column is dropped.
        regards, tom lane



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

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: Monitoring roles patch
Следующее
От: David Steele
Дата:
Сообщение: Re: Supporting huge pages on Windows