Skip site navigation (1) Skip section navigation (2)

Re: adding a user library path..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "P Kapat" <kap4lin(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: adding a user library path..
Date: 2008-06-24 03:03:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
"P Kapat" <kap4lin(at)gmail(dot)com> writes:
> 1. How should the admin go about adding $HOME/usr/local/lib to $PKGLIBDIR?

You don't.  You can try editing the SQL CREATE FUNCTION commands as
I suggested before.  If that doesn't work because of SELinux, you'll
need to get the admin to drop the shlibs into a directory that SELinux
will let Postgres load shlibs from.

Frankly, there's going to be zero interest in any proposal to make this
more flexible, because making it more flexible means opening a
truck-sized security hole.  We don't *want* Postgres loading code from
random places.

			regards, tom lane

In response to


pgsql-admin by date

Next:From: P KapatDate: 2008-06-24 04:55:52
Subject: Re: adding a user library path..
Previous:From: P KapatDate: 2008-06-24 02:34:51
Subject: Re: adding a user library path..

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group