From: | bboett(at)erm1(dot)u-strasbg(dot)fr (Bruno Boettcher) |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | how to check presence of a function and set permissions? |
Date: | 2001-05-21 08:33:33 |
Message-ID: | 20010521103333.N15377@erm1.u-strasbg.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
hello!
since i am now destroying and recreating my functions at every request
(due to the fact that pl/psql can't cope with dynamic table names, and i
didn't found anywhere a decent doc about pl/perl) i have now the
problem, that a psql error is displayed if i try to drop a nonexistent
function, or sometimes when i created the function through psql an
ownership error, giving a permission denied to drop that function...
so is there a way to check before dropping if a function exists, and is
it possible to ovverride the ownership of a function? do the same GRANT
mechanisms aply to functions (at least the syntax has to change a
bit...)?
--
ciao bboett
==============================================================
bboett(at)earthling(dot)net
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....
From | Date | Subject | |
---|---|---|---|
Next Message | Tod McQuillin | 2001-05-21 08:54:02 | Re: how to check presence of a function and set permissions? |
Previous Message | Hans-Jürgen Schönig | 2001-05-21 07:23:06 | Re: Transposing data |