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

Commitc2faf48

Browse files
committed
Fix the parameters order for TableAmRoutine.relation_copy_for_cluster()
Specify OldTable first, NewTable second as used bytable_relation_copy_for_cluster() and as implemented inheapam_relation_copy_for_cluster().Backpatch to PostgreSQL 12, where TableAmRoutine was introduced.Discussion:https://postgr.es/m/ME3P282MB3166860D4911AE82F92DF7C5B63F2%40ME3P282MB3166.AUSP282.PROD.OUTLOOK.COMAuthor: Japin LiReviewed-by: Pavel BorisovBackpatch-through: 12
1 parent4fb56a7 commitc2faf48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/access/tableam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ typedef struct TableAmRoutine
601601
constRelFileNode*newrnode);
602602

603603
/* See table_relation_copy_for_cluster() */
604-
void(*relation_copy_for_cluster) (RelationNewTable,
605-
RelationOldTable,
604+
void(*relation_copy_for_cluster) (RelationOldTable,
605+
RelationNewTable,
606606
RelationOldIndex,
607607
booluse_sort,
608608
TransactionIdOldestXmin,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp