Re: Create table command fails with permission denied

From: AmitKumar Jain <amitjain(at)synechron(dot)com>
To: Venkateswara Rao Bondada <Venkateswara_B(at)infosys(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Create table command fails with permission denied
Date: 2009-08-03 13:33:10
Message-ID: 4A76E716.3060901@synechron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Venkateswara Rao Bondada wrote:
>
> Hi,
>
> I'm new to PostgreSQL, and currently facing an issue with PostgreSQL
> 7.4 database. I'm getting the following error when tried to create a
> table. Please let me know the steps (with queries) that I should take
> care to resolve this issue.
>
>
>
> cms=# create table test(id character varying(80));
>
> ERROR: could not create relation "test": Permission denied
>
>
>
> Thanks in advance,
>
> Venkat
>

login with postgres user like psql -Upostgres cms and THEN execute
create table statement.

OR
Refer this : http://www.postgresql.org/docs/7.4/static/sql-grant.html
--

Regards,

* *

*Amit Jain **
Synechron Technology Pvt. Ltd.*

Pune 411 057.
Phone : +91.20.40262000 Ext 2162 | Mobile:+91.9373415075 | Fax:
+91.20.30513500
http://www.synechron.com | MailTo: amitjain(at)synechron(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gnanam 2009-08-03 13:39:37 Re: PITR archive_timeout Command
Previous Message Ian Lea 2009-08-03 13:08:15 Re: PITR archive_timeout Command