From: Dinesh Pandey <dpandey@secf.com>
To: 'Michael Glaesemann' <grzm@myrealbox.com>
Cc: pgsql-general@postgresql.org
Cc: 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: Re: [SQL] Permission denied for language pltclu
Date: Fri, 10 Jun 2005 13:03:29 +0530
Message-ID: <20050610073921.40C5852896@svr1.postgresql.org> (raw)
In-Reply-To: <3CEA5309-9B60-4972-A933-7DB8A66FD2C2@myrealbox.com>
I have installed the Postgres from "postgres" user with pltcl option and
able to create these function with another dbUSER successfully and never get
this error.
But our client is getting this error, How to solve it now? Any Idea?
Thanks
Dinesh Pandey
-----Original Message-----
From: Michael Glaesemann [mailto:grzm@myrealbox.com]
Sent: Friday, June 10, 2005 12:58 PM
To: dpandey@secf.com
Cc: pgsql-general@postgresql.org; 'PostgreSQL'
Subject: Re: [SQL] Permission denied for language pltclu
On Jun 10, 2005, at 4:10 PM, Dinesh Pandey wrote:
> I am using Postgres-.8.0.1.
>
>
>
> I am creating a function with 'pltclu' language. I have already
> created database with 'pltclu'language. But on creation this
> function I am getting this error and failed to create this function
>
> -------------------------
>
> ERROR: Permission denied for language pltclu
>
> -------------------------
>
> What is the cause?
It means that the user you are creating the function as does not have
permission to use pltclu. Only superusers can create functions using
untrusted languages.
http://www.postgresql.org/docs/8.0/interactive/pltcl.html
Hope this helps.
Michael Glaesemann
grzm myrealbox com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dpandey@secf.com, grzm@myrealbox.com, pgsql-general@postgresql.org
Subject: Re: [SQL] Permission denied for language pltclu
In-Reply-To: <20050610073921.40C5852896@svr1.postgresql.org>
* 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