Perhaps that's as simple as renaming all the existing _ns_* functions to _block_ and then adding support for pragmas... Since you're adding cursor_options to PLpgSQL_expr it should probably be removed as an option to exec_*.I have to recheck it. Some cursor options going from dynamic cursor variables and are related to dynamic query - not query that creates query string. hmm .. so current state is better due using options like CURSOR_OPT_PARALLEL_OK if (expr->plan == NULL) exec_prepare_plan(estate, expr, (parallelOK ? CURSOR_OPT_PARALLEL_OK : 0) | expr->cursor_options);This options is not permanent feature of expression - and then I cannot to remove cursor_option argument from exec_*I did minor cleaning - remove cursor_options from plpgsql_varRegardsPavel
Perhaps that's as simple as renaming all the existing _ns_* functions to _block_ and then adding support for pragmas... Since you're adding cursor_options to PLpgSQL_expr it should probably be removed as an option to exec_*.I have to recheck it. Some cursor options going from dynamic cursor variables and are related to dynamic query - not query that creates query string.
Perhaps that's as simple as renaming all the existing _ns_* functions to _block_ and then adding support for pragmas... Since you're adding cursor_options to PLpgSQL_expr it should probably be removed as an option to exec_*.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных