pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl
Date
Msg-id E1rs8Hy-000MYF-FL@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bafad43c37bf531f392e65ba726c253040b608f2

Modified Files
--------------
src/include/access/tableam.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl
Next
From: Tom Lane
Date:
Subject: [MASSMAIL]pgsql: Invent SERIALIZE option for EXPLAIN.