pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl
Date: 2024-04-03 21:36:11
Message-ID: E1rs8HC-000MUz-OH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/97ce821e3e171ce99fa7c398889ac08432cd0264

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-04-03 21:36:25 pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl
Previous Message Robert Haas 2024-04-03 20:12:00 pgsql: docs: Demote "Monitoring Disk Usage" from chapter to section.