Re: Create table command fails with permission denied - Mailing list pgsql-admin

From AmitKumar Jain
Subject Re: Create table command fails with permission denied
Date
Msg-id 4A76E716.3060901@synechron.com
Whole thread Raw
In response to Create table command fails with permission denied  (Venkateswara Rao Bondada <Venkateswara_B@infosys.com>)
List 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@synechron.com


pgsql-admin by date:

Previous
From: Gnanam
Date:
Subject: Re: PITR archive_timeout Command
Next
From: "Mark Steben"
Date:
Subject: Question on start server using PG_CTL