Re: Move FOR PORTION OF checks out of analysis
От
Tom Lane
Тема
Re: Move FOR PORTION OF checks out of analysis
Дата
Msg-id
1320174.1782583462@sss.pgh.pa.us
Ответ на
Re: Move FOR PORTION OF checks out of analysis (Peter Eisentraut)
Список
Дерево обсуждения
Re: Move FOR PORTION OF checks out of analysis Tom Lane <tgl@sss.pgh.pa.us>
I wonder whether contain_volatile_functions_after_planning and its sibling contain_mutable_functions_after_planning shouldn't be documented to warn against this sort of misuse. Ideally we'd not have them at all because of the TOCTOU hazard. The remaining callers are in DDL callers like generated-column creation and expression-index creation, where we basically just have to trust that users won't redefine their functions later. But we don't want developers putting such calls into places that are any further upstream of execution than they have to be. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Tatsuya Kawata
Дата:
От: Bharath Rupireddy
Дата: