Re: create function - user permissions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: markus(dot)wagner(at)bigfoot(dot)com
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: create function - user permissions
Date: 2000-07-22 06:03:08
Message-ID: 4582.964245788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Markus Wagner <mawagner(at)mail(dot)uni-mainz(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message sathya priya 2000-07-22 08:34:03 query optimazation & starting postmaster with -B option
Previous Message Markus Wagner 2000-07-21 23:44:22 create function - user permissions