pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres Maillist <pgsql-admin@postgresql.org>
Subject: Re: unix socket location confusion
Date: Sun, 22 Mar 2015 23:01:02 -0600
Message-ID: <0CA66AE2-6929-41A0-B735-C5B510650486@elevated-dev.com> (raw)
In-Reply-To: <13189.1427086451@sss.pgh.pa.us>
References: <0A21BC93-7B9C-476E-AAF4-0FF71708E87F@elevated-dev.com>
	<3184.1427063304@sss.pgh.pa.us>
	<3533.1427064190@sss.pgh.pa.us>
	<5600A100-C4A4-427D-938E-9FFDDBE87132@elevated-dev.com>
	<13189.1427086451@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Mar 22, 2015, at 10:54 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> We're entirely at the mercy of the platform's dynamic loader when it comes
> to things like this.  I don't think I trust Darwin's loader with relative
> paths; though come to think of it, Linux's loader may be no better.  Way
> too many opportunities to screw up there.

It actually does work, I've used it. But I never found any documentation about it, and it was a damned PITA to figure out.

> As for static libraries, there are good reasons why those aren't superior
> solutions.  Red Hat for instance has a blanket policy against shipping
> static libraries (with only very narrow exceptions), and I believe the
> same is true of many other vendors.

Yep. Good & bad both ways.

Anyway, I clearly need to not nest specific version builds with the dbs that use that version. I need to build all versions into /usr/local/pgsql-XYZ and then symlink as needed.

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







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



view thread (6+ messages)

Message-ID: <0CA66AE2-6929-41A0-B735-C5B510650486@elevated-dev.com>
Permalink:  ../0CA66AE2-6929-41A0-B735-C5B510650486@elevated-dev.com/
Also on:    postgresql.org/message-id/0CA66AE2-6929-41A0-B735-C5B510650486@elevated-dev.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, tgl@sss.pgh.pa.us
  Subject: Re: unix socket location confusion
  In-Reply-To: <0CA66AE2-6929-41A0-B735-C5B510650486@elevated-dev.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