Re: pg18: Virtual generated columns are not (yet) safe when superuser selects from them

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg18: Virtual generated columns are not (yet) safe when superuser selects from them
Дата
Msg-id 4649a351-3500-45af-90ab-c3dfb16f1e65@eisentraut.org
обсуждение исходный текст
Ответ на pg18: Virtual generated columns are not (yet) safe when superuser selects from them  (Feike Steenbergen <feikesteenbergen@gmail.com>)
Список pgsql-hackers
On 23.06.25 15:13, Peter Eisentraut wrote:
> Your CheckAttributeType() change is conditional on TYPTYPE_BASE, but if 
> you remove that and check it for all types, then you get the right error 
> in both cases.
> 
> I have attached a patch that is similar to yours but with that change. 
> I've also written the test cases a bit differently, but it also covers 
> everything now.
> 
> (The two patches should be squashed.  I'm just keeping them separate to 
> show what is changed.)

This has been committed thus.  This should close this topic.



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