Re: Allowing multiple versions of PG under NetBSD

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, "Maeldron T(dot)" <maeldron(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: Allowing multiple versions of PG under NetBSD
Date: 2016-07-29 20:14:29
Message-ID: 20160729201429.GJ12810@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 29, 2016 at 03:09:59PM -0500, Larry Rosenman wrote:
> >>I might take a look at the NetBSD package (I'm a developer) to see how
> >>hard it would be to allow multiple versions. We do keep all the lib
> >>stuff in a separate directory so that part would be relatively simple.
> >>We just need to find all the binaries and make the names versioned and
> >>add a symlink to the user selected primary version to the bare version
> >>of the binary name. Example:
> >> - psql.8.3
> >> - psql.9.1
> >> - psql.9.3
> >> - psql ==> psql.9.3
> >>
> >>Other than linking to the correct library can you think of any other
> >>issues with this?
> >
> >Data Directory naming, as well as keeping the init-scripts straight.
> >
> And who gets 5432, and Unix socket naming, it starts to get messy.....

Well, pg_upgrade uses a socket created in the current run directory, so
that should be fine.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Larry Rosenman 2016-07-29 20:16:23 Re: Allowing multiple versions of PG under NetBSD
Previous Message Larry Rosenman 2016-07-29 20:09:59 Re: Allowing multiple versions of PG under NetBSD