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: 7754.1214276628@sss.pgh.pa.us (view raw or flat)
Thread:
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

Responses

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-2014 The PostgreSQL Global Development Group