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

Commitb81831a

Browse files
committed
Renumber 2PC resource managers so that compared to 9.0, predicate lock rmgr
is added to the end, and existing resource managers keep their old ids.We're not going to guarantee on-disk compatibility for 2PC state files overmajor releases, but it seems better to avoid changing the ids them anyway.It will help anyone who might want to write external tools to inspect thestate files to work with files from different versions, if nothing else.Per complaint from Tom Lane.
1 parent030a283 commitb81831a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/include/access/twophase_rmgr.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ typedef uint8 TwoPhaseRmgrId;
2323
*/
2424
#defineTWOPHASE_RM_END_ID0
2525
#defineTWOPHASE_RM_LOCK_ID1
26-
#defineTWOPHASE_RM_PREDICATELOCK_ID2
27-
#defineTWOPHASE_RM_PGSTAT_ID3
28-
#defineTWOPHASE_RM_MULTIXACT_ID4
29-
#defineTWOPHASE_RM_MAX_IDTWOPHASE_RM_MULTIXACT_ID
26+
#defineTWOPHASE_RM_PGSTAT_ID2
27+
#defineTWOPHASE_RM_MULTIXACT_ID3
28+
#defineTWOPHASE_RM_PREDICATELOCK_ID4
29+
#defineTWOPHASE_RM_MAX_IDTWOPHASE_RM_PREDICATELOCK_ID
3030

3131
externconstTwoPhaseCallbacktwophase_recover_callbacks[];
3232
externconstTwoPhaseCallbacktwophase_postcommit_callbacks[];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp