Content-Length: 262317 | pFad | http://github.com/postgrespro/postgres/commit/97ce821e3e171ce99fa7c398889ac08432cd0264

E5 Fix the parameters order for TableAmRoutine.relation_copy_for_cluster() · postgrespro/postgres@97ce821 · GitHub
Skip to content

Commit 97ce821

Browse files
committed
Fix the parameters order for TableAmRoutine.relation_copy_for_cluster()
Specify OldTable first, NewTable second as used by table_relation_copy_for_cluster() and as implemented in heapam_relation_copy_for_cluster(). Backpatch to PostgreSQL 12, where TableAmRoutine was introduced. Discussion: https://postgr.es/m/ME3P282MB3166860D4911AE82F92DF7C5B63F2%40ME3P282MB3166.AUSP282.PROD.OUTLOOK.COM Author: Japin Li Reviewed-by: Pavel Borisov Backpatch-through: 12
1 parent f470b5c commit 97ce821

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
@@ -631,8 +631,8 @@ typedef struct TableAmRoutine
631631
const RelFileLocator *newrlocator);
632632

633633
/* See table_relation_copy_for_cluster() */
634-
void (*relation_copy_for_cluster) (Relation NewTable,
635-
Relation OldTable,
634+
void (*relation_copy_for_cluster) (Relation OldTable,
635+
Relation NewTable,
636636
Relation OldIndex,
637637
bool use_sort,
638638
TransactionId OldestXmin,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/97ce821e3e171ce99fa7c398889ac08432cd0264

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy