Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a09527

Browse files
committed
Mark more functions parallel-restricted.
Commit61c2e1a allowed parallelquery to be used in more places, revealing via buildfarm membermandrill that several functions intended to be called from triggerswere incorrectly marked parallel-safe rather than parallel-restricted.Report by Tom Lane. Patch by Rafia Sabih. Reviewed by me.Discussion:http://postgr.es/m/16061.1490479253@sss.pgh.pa.us
1 parentfddf45b commit9a09527

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO201703261
56+
#defineCATALOG_VERSION_NO201703291
5757

5858
#endif

‎src/include/catalog/pg_proc.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2959,7 +2959,7 @@ DESCR("statistics: reset collected statistics for a single table or index in the
29592959
DATA(insert OID = 3777 ( pg_stat_reset_single_function_countersPGNSP PGUID 12 1 0 0 0 f f f f t f v s 1 0 2278 "26" _null_ _null_ _null_ _null_ _null_ pg_stat_reset_single_function_counters _null_ _null_ _null_ ));
29602960
DESCR("statistics: reset collected statistics for a single function in the current database");
29612961

2962-
DATA(insert OID = 3163 ( pg_trigger_depthPGNSP PGUID 12 1 0 0 0 f f f f t f ss 0 0 23 "" _null_ _null_ _null_ _null_ _null_ pg_trigger_depth _null_ _null_ _null_ ));
2962+
DATA(insert OID = 3163 ( pg_trigger_depthPGNSP PGUID 12 1 0 0 0 f f f f t f sr 0 0 23 "" _null_ _null_ _null_ _null_ _null_ pg_trigger_depth _null_ _null_ _null_ ));
29632963
DESCR("current trigger depth");
29642964

29652965
DATA(insert OID = 3778 ( pg_tablespace_location PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 25 "26" _null_ _null_ _null_ _null_ _null_ pg_tablespace_location _null_ _null_ _null_ ));
@@ -5262,13 +5262,13 @@ DATA(insert OID = 3578 ( pg_logical_emit_message PGNSP PGUID 12 1 0 0 0 f f f f
52625262
DESCR("emit a binary logical decoding message");
52635263

52645264
/* event triggers */
5265-
DATA(insert OID = 3566 ( pg_event_trigger_dropped_objectsPGNSP PGUID 12 10 100 0 0 f f f f t t ss 0 0 2249 "" "{26,26,23,16,16,16,25,25,25,25,1009,1009}" "{o,o,o,o,o,o,o,o,o,o,o,o}" "{classid, objid, objsubid, original, normal, is_temporary, object_type, schema_name, object_name, object_identity, address_names, address_args}" _null_ _null_ pg_event_trigger_dropped_objects _null_ _null_ _null_ ));
5265+
DATA(insert OID = 3566 ( pg_event_trigger_dropped_objectsPGNSP PGUID 12 10 100 0 0 f f f f t t sr 0 0 2249 "" "{26,26,23,16,16,16,25,25,25,25,1009,1009}" "{o,o,o,o,o,o,o,o,o,o,o,o}" "{classid, objid, objsubid, original, normal, is_temporary, object_type, schema_name, object_name, object_identity, address_names, address_args}" _null_ _null_ pg_event_trigger_dropped_objects _null_ _null_ _null_ ));
52665266
DESCR("list objects dropped by the current command");
5267-
DATA(insert OID = 4566 ( pg_event_trigger_table_rewrite_oidPGNSP PGUID 12 1 0 0 0 f f f f t f ss 0 0 26 "" "{26}" "{o}" "{oid}" _null_ _null_ pg_event_trigger_table_rewrite_oid _null_ _null_ _null_ ));
5267+
DATA(insert OID = 4566 ( pg_event_trigger_table_rewrite_oidPGNSP PGUID 12 1 0 0 0 f f f f t f sr 0 0 26 "" "{26}" "{o}" "{oid}" _null_ _null_ pg_event_trigger_table_rewrite_oid _null_ _null_ _null_ ));
52685268
DESCR("return Oid of the table getting rewritten");
5269-
DATA(insert OID = 4567 ( pg_event_trigger_table_rewrite_reason PGNSP PGUID 12 1 0 0 0 f f f f t f ss 0 0 23 "" _null_ _null_ _null_ _null_ _null_ pg_event_trigger_table_rewrite_reason _null_ _null_ _null_ ));
5269+
DATA(insert OID = 4567 ( pg_event_trigger_table_rewrite_reason PGNSP PGUID 12 1 0 0 0 f f f f t f sr 0 0 23 "" _null_ _null_ _null_ _null_ _null_ pg_event_trigger_table_rewrite_reason _null_ _null_ _null_ ));
52705270
DESCR("return reason code for table getting rewritten");
5271-
DATA(insert OID = 4568 ( pg_event_trigger_ddl_commandsPGNSP PGUID 12 10 100 0 0 f f f f t t ss 0 0 2249 "" "{26,26,23,25,25,25,25,16,32}" "{o,o,o,o,o,o,o,o,o}" "{classid, objid, objsubid, command_tag, object_type, schema_name, object_identity, in_extension, command}" _null_ _null_ pg_event_trigger_ddl_commands _null_ _null_ _null_ ));
5271+
DATA(insert OID = 4568 ( pg_event_trigger_ddl_commandsPGNSP PGUID 12 10 100 0 0 f f f f t t sr 0 0 2249 "" "{26,26,23,25,25,25,25,16,32}" "{o,o,o,o,o,o,o,o,o}" "{classid, objid, objsubid, command_tag, object_type, schema_name, object_identity, in_extension, command}" _null_ _null_ pg_event_trigger_ddl_commands _null_ _null_ _null_ ));
52725272
DESCR("list DDL actions being executed by the current command");
52735273

52745274
/* generic transition functions for ordered-set aggregates */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp