pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Jungwirth <pj@illuminatedcomputing.com>
To: stan <stanb@panix.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Issue upgrading from V11 to V12 on Debian
Date: Tue, 3 Dec 2019 09:47:32 -0800
Message-ID: <a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.com> (raw)
In-Reply-To: <20191203174118.GA29152@panix.com>
References: <20191203155347.GA15007@panix.com>
	<4513.1575389635@sss.pgh.pa.us>
	<20191203164622.GA3615@panix.com>
	<337db11b-4490-7747-e978-118d555f8838@illuminatedcomputing.com>
	<20191203174118.GA29152@panix.com>

On 12/3/19 9:41 AM, stan wrote:
> Well, this gets more interesting. I decided to try the reinstall thing
> agai, so I did an apt-get purge on the V12 server, started the V11 server
> (admiitely I did not check to see what port it started on), reinstalled
> the V1 package, and now BOTH are running, with eh V12 server on 5432 and
> the V11 on 5433.

Yes, Ubuntu/Debian make it easy to run multiple versions/clusters at 
once. I don't think they even use the alternatives system (but I could 
be wrong). For building/installing the extension, the only important 
part AIUI is getting pg_config to point at the right files. My own 
approach has always been to hack the bash code to accept a PGCLUSTER 
envvar, as in that Stack Overflow answer. Someone here might have a 
better approach though.

Regards,

-- 
Paul              ~{:-)
pj@illuminatedcomputing.com





view thread (12+ messages)  latest in thread

Message-ID: <a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.com>
Permalink:  ../a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.com/
Also on:    postgresql.org/message-id/a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.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: pj@illuminatedcomputing.com, stanb@panix.com
  Subject: Re: Issue upgrading from V11 to V12 on Debian
  In-Reply-To: <a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.com>
  References: <20191203155347.GA15007@panix.com> <4513.1575389635@sss.pgh.pa.us> <20191203164622.GA3615@panix.com> <337db11b-4490-7747-e978-118d555f8838@illuminatedcomputing.com> <20191203174118.GA29152@panix.com> <a69e8bde-70b2-0876-a23e-1ca4648d57e8@illuminatedcomputing.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