pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Darren Lafreniere <dlafreniere@onezero.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Querying an index's btree version
Date: Wed, 11 Mar 2020 22:58:12 +0100
Message-ID: <2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at> (raw)
In-Reply-To: <CABoC1=4Aty9re38Jqf2niWaibJasdAHrBcbWg6HdcWKswo7_mA@mail.gmail.com>
References: <CABoC1=46ULyzvqZnu6AAH621mguVV2doavWQEsfr3thbtPPpAg@mail.gmail.com>
	<CAH2-Wzkwg=A7bR8NvS4hjUQX9BkB7zjxMTunB6JM-pbR+9btyQ@mail.gmail.com>
	<CABoC1=4Aty9re38Jqf2niWaibJasdAHrBcbWg6HdcWKswo7_mA@mail.gmail.com>

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






view thread (5+ messages)

Message-ID: <2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at>
Permalink:  ../2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at/
Also on:    postgresql.org/message-id/2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, dlafreniere@onezero.com, pg@bowt.ie
  Subject: Re: Querying an index's btree version
  In-Reply-To: <2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at>
  References: <CABoC1=46ULyzvqZnu6AAH621mguVV2doavWQEsfr3thbtPPpAg@mail.gmail.com> <CAH2-Wzkwg=A7bR8NvS4hjUQX9BkB7zjxMTunB6JM-pbR+9btyQ@mail.gmail.com> <CABoC1=4Aty9re38Jqf2niWaibJasdAHrBcbWg6HdcWKswo7_mA@mail.gmail.com> <2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox