From: Tom Lane <tgl@sss.pgh.pa.us>
To: P Kapat <kap4lin@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: adding a user library path..
Date: Mon, 23 Jun 2008 23:03:48 -0400
Message-ID: <7754.1214276628@sss.pgh.pa.us> (raw)
In-Reply-To: <daef5be80806231934h259b1222o59577975efdc730a@mail.gmail.com>
References: <daef5be80806231639k73b6d65bs6aefdd7e8f4708a4@mail.gmail.com>
<4989.1214265185@sss.pgh.pa.us>
<daef5be80806231934h259b1222o59577975efdc730a@mail.gmail.com>
"P Kapat" <kap4lin@gmail.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
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: tgl@sss.pgh.pa.us, kap4lin@gmail.com
Subject: Re: adding a user library path..
In-Reply-To: <7754.1214276628@sss.pgh.pa.us>
* 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