COPY FREEZE and PD_ALL_VISIBLE

Jeff Janes <jeff.janes@gmail.com>

From: Jeff Janes <jeff.janes@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2015-10-18T21:23:24Z
Lists: pgsql-hackers
I'm planning on adding a todo item to have COPY FREEZE set PD_ALL_VISIBLE.
Or is there some reason this can't be done?

Since the whole point of COPY FREEZE is to avoid needing to rewrite the
entire table, it seems rather perverse that the first time the table is
vacuumed, it needs to rewrite the entire table.


Cheers,

Jeff

Commits

  1. Set PD_ALL_VISIBLE and visibility map bits in COPY FREEZE