Re: [SQL] Permission denied for language pltclu - Mailing list pgsql-general

From Dinesh Pandey
Subject Re: [SQL] Permission denied for language pltclu
Date
Msg-id 20050610073921.40C5852896@svr1.postgresql.org
Whole thread Raw
In response to Re: [SQL] Permission denied for language pltclu  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: [SQL] Permission denied for language pltclu  (Richard Huxton <dev@archonet.com>)
List pgsql-general

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

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: [SQL] Permission denied for language pltclu
Next
From: Richard Huxton
Date:
Subject: Re: [SQL] Permission denied for language pltclu