Re: Querying an index's btree version

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Darren Lafreniere <dlafreniere(at)onezero(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Querying an index's btree version
Date: 2020-03-11 21:58:12
Message-ID: 2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2020-03-11 at 17:12 -0400, Darren Lafreniere wrote:
> Separate but related follow-up question: when you restore a DB from a backup, does the restored index use the old format or the latest one?

If you restore a pg_dump, you will have the latest version.

If you restore a file system backup, you will have what you had before.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-03-11 22:05:18 Re: pg_restore restores out of order
Previous Message Kevin Brannen 2020-03-11 21:46:39 pg_restore restores out of order