Rafal Pietrak wrote: > ERROR: ALTER ROLE is not allowed in a non-volatile function > > Why??? See http://www.postgresql.org/docs/8.3/static/xfunc-volatility.html : A STABLE function cannot modify the database [...] Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general