pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pedro Salazar <pedro-b-salazar@ptinovacao.pt>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: create function (plgsql): permission denied
Date: 07 Apr 2003 12:39:03 +0100
Message-ID: <1049715542.1132.14.camel@vitoria.intra.cet.pt> (raw)

Greetings,

I have a user, owner a schema, but I just can't create any function
plgsql through that user. I got the error message: "plpgsql: permission
denied".

I don't know how can I grant permission to create functions for that
user (preferable way) or trust plpgsql language as a trusted language
(alternative way).

These are my definitions languages:

select * from pg_language ;
lanname | lanispl | lanpltrusted | lanplcallfoid | lanvalidator | lanacl
----------+---------+--------------+---------------+--------------+--------
 plpgsql  | t       | f            |         20893 |            0 | 
 sql      | f       | t            |             0 |         2248 | {=U}
 internal | f       | f            |             0 |         2246 | {=}
 c        | f       | f            |             0 |         2247 | {=}


In addition, could anyone explain me these table attributes?

thanks,
Pedro Salazar.
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61




Message-ID: <1049715542.1132.14.camel@vitoria.intra.cet.pt>
Permalink:  ../1049715542.1132.14.camel@vitoria.intra.cet.pt/
Also on:    postgresql.org/message-id/1049715542.1132.14.camel@vitoria.intra.cet.pt

 · 

reply

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-admin@postgresql.org
  Cc: pedro-b-salazar@ptinovacao.pt
  Subject: Re: create function (plgsql): permission denied
  In-Reply-To: <1049715542.1132.14.camel@vitoria.intra.cet.pt>
  References: <1049715542.1132.14.camel@vitoria.intra.cet.pt>

* 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