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

Commit9fe3c64

Browse files
committed
Mark pg_start_backup and pg_stop_backup as parallel-restricted.
They depend on backend-private state that will not be synchronized bythe parallel machinery, so they should not be marked parallel-safe.This issue also exists in 9.6, but we obviously can't do anythingabout 9.6 clusters that already exist. Possibly this could beback-patched so that future 9.6 clusters would come out OK, orpossibly we should back-patch some other fix, but that would need morediscussion.David Steele, reviewed by Michael PaquierDiscussion:http://postgr.es/m/CA+TgmoYCWfO2UM-t=HUMFJyxJywLDiLL0nAJpx88LKtvBvNECw@mail.gmail.com
1 parent7f6fa29 commit9fe3c64

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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_NO201703032
56+
#defineCATALOG_VERSION_NO201703061
5757

5858
#endif

‎src/include/catalog/pg_proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3141,9 +3141,9 @@ DATA(insert OID = 2096 ( pg_terminate_backendPGNSP PGUID 12 1 0 0 0 f f f f t
31413141
DESCR("terminate a server process");
31423142
DATA(insert OID = 2172 ( pg_start_backupPGNSP PGUID 12 1 0 0 0 f f f f t f v r 3 0 3220 "25 16 16" _null_ _null_ _null_ _null_ _null_ pg_start_backup _null_ _null_ _null_ ));
31433143
DESCR("prepare for taking an online backup");
3144-
DATA(insert OID = 2173 ( pg_stop_backupPGNSP PGUID 12 1 0 0 0 f f f f t f vs 0 0 3220 "" _null_ _null_ _null_ _null_ _null_ pg_stop_backup _null_ _null_ _null_ ));
3144+
DATA(insert OID = 2173 ( pg_stop_backupPGNSP PGUID 12 1 0 0 0 f f f f t f vr 0 0 3220 "" _null_ _null_ _null_ _null_ _null_ pg_stop_backup _null_ _null_ _null_ ));
31453145
DESCR("finish taking an online backup");
3146-
DATA(insert OID = 2739 ( pg_stop_backupPGNSP PGUID 12 1 1 0 0 f f f f t t vs 1 0 2249 "16" "{16,3220,25,25}" "{i,o,o,o}" "{exclusive,lsn,labelfile,spcmapfile}" _null_ _null_ pg_stop_backup_v2 _null_ _null_ _null_ ));
3146+
DATA(insert OID = 2739 ( pg_stop_backupPGNSP PGUID 12 1 1 0 0 f f f f t t vr 1 0 2249 "16" "{16,3220,25,25}" "{i,o,o,o}" "{exclusive,lsn,labelfile,spcmapfile}" _null_ _null_ pg_stop_backup_v2 _null_ _null_ _null_ ));
31473147
DESCR("finish taking an online backup");
31483148
DATA(insert OID = 3813 ( pg_is_in_backupPGNSP 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_backup _null_ _null_ _null_ ));
31493149
DESCR("true if server is in online backup");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp