From: Sean Davis <sdavis2@mail.nih.gov>
To: dpandey@secf.com
Cc: Postgresql-General list <pgsql-general@postgresql.org>
Subject: Re: [SQL] Permission denied for language pltclu
Date: Fri, 10 Jun 2005 06:31:34 -0400
Message-ID: <0ff6b4042414d68d62a956cd6c5c2c92@mail.nih.gov> (raw)
In-Reply-To: <20050610095655.0215752956@svr1.postgresql.org>
References: <20050610095655.0215752956@svr1.postgresql.org>
On Jun 10, 2005, at 5:51 AM, Dinesh Pandey wrote:
>
> Hi Richard/ Michael
>
> Thanks for your great help.
>
> I got the problem.
>
> Actually, I was not getting the cause of this problem, because it was
> working properly at our end.
>
> Actually this problem occurs when the function is being created by the
> user who has not created the current database.
>
> Solution: The database must be created by the user who is creating the
> pltcl function? Right
Dinesh,
The user creating the function must be a superuser. The question to
ask is: How do I make a user a superuser? The answer is in the
documentation at these two links. It suffices to ALTER USER to have
CREATEUSER privileges to be a superuser.
http://www.postgresql.org/docs/8.0/static/user-attributes.htmlhttp://www.postgresql.org/docs/8.0/static/sql-alteruser.html
I hope this clarifies things a bit.
Sean
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: sdavis2@mail.nih.gov, dpandey@secf.com, pgsql-general@postgresql.org
Subject: Re: [SQL] Permission denied for language pltclu
In-Reply-To: <0ff6b4042414d68d62a956cd6c5c2c92@mail.nih.gov>
* 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