From: Tom Lane <tgl@sss.pgh.pa.us>
To: markus.wagner@bigfoot.com
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: create function - user permissions
Date: Sat, 22 Jul 2000 02:03:08 -0400
Message-ID: <4582.964245788@sss.pgh.pa.us> (raw)
In-Reply-To: <3978E056.CF082AF7@mail.uni-mainz.de>
References: <3978E056.CF082AF7@mail.uni-mainz.de>
Markus Wagner <mawagner@mail.uni-mainz.de> writes:
> one of my users wants to create functions using the C language, but pgs
> says "no permission".
> How can I permit the user to do this, while avoiding to give him root
> access rights?
Just a wakeup call here: if you let a user write C functions then
you *are* giving him Postgres superuser rights. He can do anything
he damn well pleases as user postgres, he's just got to write some
code to do it.
Once you've absorbed that, giving him the dbadmin password should
not look unreasonable.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, markus.wagner@bigfoot.com
Subject: Re: create function - user permissions
In-Reply-To: <4582.964245788@sss.pgh.pa.us>
References: <3978E056.CF082AF7@mail.uni-mainz.de> <4582.964245788@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