On Wed, Mar 11, 2020 at 2:13 PM Darren Lafreniere
<dlafreniere@onezero.com> wrote:
> when you restore a DB from a backup, does the restored index use the old format or the latest one?
If you use pg_restore, it uses the latest index format.
If you're using pg_upgrade, the version won't change unless and until
you REINDEX. This includes cases where you're running pg_upgrade
against a restored physical backup.
--
Peter Geoghegan