pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Perumal Raj <perucinci@gmail.com>
Cc: Sergei Kornilov <sk@zsrv.org>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Question about pg_upgrade from 9.2 to X.X
Date: Thu, 7 Mar 2019 04:32:39 -0600
Message-ID: <20190307103239.GA8083@telsasoft.com> (raw)
In-Reply-To: <CALvqh4q=LOB6mMeyGKUiTL=8A6H5YSrm1eX=x53nEG-VzoFm9A@mail.gmail.com>
References: <6762391551380655@sas1-23a37bc8251c.qloud-c.yandex.net>
	<CALvqh4ohYLpVyR8Fm8Sxd_8yoFv=2xAMbxG0AKMpNrBgXQPUhA@mail.gmail.com>
	<CALvqh4rYutybvycOt+Ck5wdWGjLoya7=Nynx1nYNuE_95-3v4g@mail.gmail.com>
	<20190303145104.GA27559@telsasoft.com>
	<CALvqh4qy_SUJROYJmMVqi8u5iZBrhfsN7jnwVHwb0GfqcL84ow@mail.gmail.com>
	<CALvqh4pfm5m026L7M5MkErKRiRPb1ADTMta9Y68fxWDGZi3JhQ@mail.gmail.com>
	<268361551771767@myt6-fe24916a5562.qloud-c.yandex.net>
	<CALvqh4oaG8YGNv5AaX8oDcwZUhMSy2E5Nwfeos+-VCar+QXQwg@mail.gmail.com>
	<20190305162145.GV29584@telsasoft.com>
	<CALvqh4q=LOB6mMeyGKUiTL=8A6H5YSrm1eX=x53nEG-VzoFm9A@mail.gmail.com>

On Wed, Mar 06, 2019 at 09:44:16PM -0800, Perumal Raj wrote:
> Any pointers for pg_repack schema creation ?

With recent postgres, you should use just: "CREATE EXTENSION pg_repack", which
does all that for you.

> Will there be any impact in the future , Since i used --link option ?

You probably have an old DB directory laying around which is (at least
partially) hardlinks.  You should remove it .. but be careful to remove the
correct dir.  My scripts always rename the old dir before running pg_upgrade,
so it's less scary to rm -fr it later.

Justin




view thread (19+ messages)

Message-ID: <20190307103239.GA8083@telsasoft.com>
Permalink:  ../20190307103239.GA8083@telsasoft.com/
Also on:    postgresql.org/message-id/20190307103239.GA8083@telsasoft.com

 · 

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: pryzby@telsasoft.com, perucinci@gmail.com, sk@zsrv.org
  Subject: Re: Question about pg_upgrade from 9.2 to X.X
  In-Reply-To: <20190307103239.GA8083@telsasoft.com>
  References: <6762391551380655@sas1-23a37bc8251c.qloud-c.yandex.net> <CALvqh4ohYLpVyR8Fm8Sxd_8yoFv=2xAMbxG0AKMpNrBgXQPUhA@mail.gmail.com> <CALvqh4rYutybvycOt+Ck5wdWGjLoya7=Nynx1nYNuE_95-3v4g@mail.gmail.com> <20190303145104.GA27559@telsasoft.com> <CALvqh4qy_SUJROYJmMVqi8u5iZBrhfsN7jnwVHwb0GfqcL84ow@mail.gmail.com> <CALvqh4pfm5m026L7M5MkErKRiRPb1ADTMta9Y68fxWDGZi3JhQ@mail.gmail.com> <268361551771767@myt6-fe24916a5562.qloud-c.yandex.net> <CALvqh4oaG8YGNv5AaX8oDcwZUhMSy2E5Nwfeos+-VCar+QXQwg@mail.gmail.com> <20190305162145.GV29584@telsasoft.com> <CALvqh4q=LOB6mMeyGKUiTL=8A6H5YSrm1eX=x53nEG-VzoFm9A@mail.gmail.com> <20190307103239.GA8083@telsasoft.com>

* 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