Fix comments about deduplication updating page.
authorPeter Geoghegan <[email protected]>
Fri, 5 Aug 2022 21:25:49 +0000 (14:25 -0700)
committerPeter Geoghegan <[email protected]>
Fri, 5 Aug 2022 21:25:49 +0000 (14:25 -0700)
commitf68faf4c7530e39e626b0aa3e4a36376e122fce7
treea7e43a6631d2e42263a4e03a379fd43c00c798be
parentb2fe783aecadb42e17868787bb45aa6328796d2a
Fix comments about deduplication updating page.

nbtree deduplication passes add tuples from the original/target page to
a temp page, merging as necessary.  The temp page is copied back to the
target permanent page in the critical section.  This is similar to the
approach taken by nbtree page splits.

Adjust comments that referred to updating the original page in-place as
tuples were merged.  These were left over from earlier versions of the
deduplication patch that didn't yet use a temp page.
src/backend/access/nbtree/nbtdedup.c