pgsql: Move FOR PORTION OF volatile check into planner

Поиск
Список
Период
Сортировка
Искать

pgsql: Move FOR PORTION OF volatile check into planner

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Move FOR PORTION OF volatile check into planner

This needs to be wary of the function volatility changing after we
check it.  We cannot enforce this when checking at parse time, so move
it later, into the planner.

Author: Paul A. Jungwirth 
Reported-by: Tom Lane 
Reviewed-by: jian he 
Discussion: https://www.postgresql.org/message-id/flat/CA%2BrenyUte0_UJsJiDJQi82oaBsMJn%3Dcct0Wn%3DvOqXtuDn%3DYYJA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a272a58b94249879c3f7e170a5ebfaeec940d411

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 12 ++++++++++++
src/backend/parser/analyze.c         |  3 ---
2 files changed, 12 insertions(+), 3 deletions(-)

FAQ