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

Commitc7a25c2

Browse files
committed
Mark some functions parallel-unsafe.
currtid() and currtid2() call GetLatestSnapshot(), which fails inparallel mode. pg_export_snapshot() calls ExportSnapshot() whichattempts to assign an XID for the current transaction if it does notalready have one; that, too, will fail in parallel mode.Andreas Seltenreich
1 parent8383486 commitc7a25c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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_NO201605191
56+
#defineCATALOG_VERSION_NO201606151
5757

5858
#endif

‎src/include/catalog/pg_proc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,9 +1347,9 @@ DATA(insert OID = 1291 ( suppress_redundant_updates_triggerPGNSP PGUID 12 1 0
13471347
DESCR("trigger to suppress updates when new and old records match");
13481348

13491349
DATA(insert OID = 1292 ( tideq PGNSP PGUID 12 1 0 0 0 f f f t t f i s 2 0 16 "27 27" _null_ _null_ _null_ _null_ _null_ tideq _null_ _null_ _null_ ));
1350-
DATA(insert OID = 1293 ( currtid PGNSP PGUID 12 1 0 0 0 f f f f t f vs 2 0 27 "26 27" _null_ _null_ _null_ _null_ _null_ currtid_byreloid _null_ _null_ _null_ ));
1350+
DATA(insert OID = 1293 ( currtid PGNSP PGUID 12 1 0 0 0 f f f f t f vu 2 0 27 "26 27" _null_ _null_ _null_ _null_ _null_ currtid_byreloid _null_ _null_ _null_ ));
13511351
DESCR("latest tid of a tuple");
1352-
DATA(insert OID = 1294 ( currtid2 PGNSP PGUID 12 1 0 0 0 f f f f t f vs 2 0 27 "25 27" _null_ _null_ _null_ _null_ _null_ currtid_byrelname _null_ _null_ _null_ ));
1352+
DATA(insert OID = 1294 ( currtid2 PGNSP PGUID 12 1 0 0 0 f f f f t f vu 2 0 27 "25 27" _null_ _null_ _null_ _null_ _null_ currtid_byrelname _null_ _null_ _null_ ));
13531353
DESCR("latest tid of a tuple");
13541354
DATA(insert OID = 1265 ( tidne PGNSP PGUID 12 1 0 0 0 f f f t t f i s 2 0 16 "27 27" _null_ _null_ _null_ _null_ _null_ tidne _null_ _null_ _null_ ));
13551355
DATA(insert OID = 2790 ( tidgt PGNSP PGUID 12 1 0 0 0 f f f t t f i s 2 0 16 "27 27" _null_ _null_ _null_ _null_ _null_ tidgt _null_ _null_ _null_ ));
@@ -3135,7 +3135,7 @@ DESCR("xlog filename, given an xlog location");
31353135
DATA(insert OID = 3165 ( pg_xlog_location_diffPGNSP PGUID 12 1 0 0 0 f f f f t f i s 2 0 1700 "3220 3220" _null_ _null_ _null_ _null_ _null_ pg_xlog_location_diff _null_ _null_ _null_ ));
31363136
DESCR("difference in bytes, given two xlog locations");
31373137

3138-
DATA(insert OID = 3809 ( pg_export_snapshotPGNSP PGUID 12 1 0 0 0 f f f f t f vr 0 0 25 "" _null_ _null_ _null_ _null_ _null_ pg_export_snapshot _null_ _null_ _null_ ));
3138+
DATA(insert OID = 3809 ( pg_export_snapshotPGNSP PGUID 12 1 0 0 0 f f f f t f vu 0 0 25 "" _null_ _null_ _null_ _null_ _null_ pg_export_snapshot _null_ _null_ _null_ ));
31393139
DESCR("export a snapshot");
31403140

31413141
DATA(insert OID = 3810 ( pg_is_in_recoveryPGNSP PGUID 12 1 0 0 0 f f f f t f v s 0 0 16 "" _null_ _null_ _null_ _null_ _null_ pg_is_in_recovery _null_ _null_ _null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp