]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix the parameters order for TableAmRoutine.relation_copy_for_cluster()
authorAlexander Korotkov <akorotkov@postgresql.org>
Wed, 3 Apr 2024 18:29:18 +0000 (21:29 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Wed, 3 Apr 2024 18:30:41 +0000 (21:30 +0300)
commit68044d15b737fe567c9c2e00a1c8466530ed02ce
treef3c9f9ff1821992e50987894946e94671bfdd555
parent4afc2c219d70ee7d12116aecda03d91c21ad6141
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
src/include/access/tableam.h