]> 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:36 +0000 (21:30 +0300)
commit38585549a3ef96fbbd8a1e7c86dc1b4b8ee5faa8
tree1ad993d3a9da46e173f9a8dad28f754e8d5fd0bf
parentf5d9212e53913d091e63f081e136f08b5c1595ff
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