pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul.Weiler@itdz-berlin.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: Error with Softlinks after using pg_upgrade
Date: Thu, 02 Mar 2017 12:07:07 -0500
Message-ID: <2519.1488474427@sss.pgh.pa.us> (raw)
In-Reply-To: <184BA296A01F13429370916F47BFCD571541A93C@ITSEX203.its.verwalt-berlin.de>
References: <184BA296A01F13429370916F47BFCD571541A93C@ITSEX203.its.verwalt-berlin.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

<Paul.Weiler@itdz-berlin.de> writes:
> as far as I can see, I found a bug with the tool pg_upgrade under PostgreSQL 9.6.2. After upgrading from Version 9.5.3 to 9.6.2 I still couldn't start the database with the normal command pg_ctl start.
> ...
> Only after using the path /usr/pgsql-9.6/bin/pg_ctl  start it worked correctly. As far as I could find out, it's a problem with a softlink. The softlink pgsql-pg_ctl shows still to "/usr/pgsql-9.5/bin/pg_ctl". The faulty softlink is located in /etc/alternatives.

pg_upgrade, per se, doesn't and cannot know about such things ---
/etc/alternatives is a platform-specific concept and any symlinks placed
there must have been created by a platform-specific packaging of Postgres.

I expect that the packager provided some upgrade instructions that would
involve running pg_upgrade as one step.  Try looking into whatever README
or similar files were included in your Postgres RPMs.

If you were following a package-specific upgrade recipe, then this is a
bug in the recipe --- but you'd need to report it to the packager, not
to the PG project.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <2519.1488474427@sss.pgh.pa.us>
Permalink:  ../2519.1488474427@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2519.1488474427@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Paul.Weiler@itdz-berlin.de
  Subject: Re: Error with Softlinks after using pg_upgrade
  In-Reply-To: <2519.1488474427@sss.pgh.pa.us>
  References: <184BA296A01F13429370916F47BFCD571541A93C@ITSEX203.its.verwalt-berlin.de> <2519.1488474427@sss.pgh.pa.us>

* 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