Re: Create table command fails with permission denied

Поиск
Список
Период
Сортировка
От Venkateswara Rao Bondada
Тема Re: Create table command fails with permission denied
Дата
Msg-id 22640DE58AF78445BA8AB69FF76F07321AA2C21011@BLRKECMBX01.ad.infosys.com
обсуждение исходный текст
Ответ на Create table command fails with permission denied  (Venkateswara Rao Bondada <Venkateswara_B@infosys.com>)
Список pgsql-admin

Hi,

To add some more details to my question, I'm using postgres account (which is a superuser in the database) to create table. Table creation is working fine in other databases except in this (cms). As postgres user, I granted CREATE, USAGE & ALL privileges to postgres account, still it didn't work.

Please find the snapshots below where it works fine and also where it doesn't work fine. And let me know what rights postgres account is missing to create tables in "cms" database.

 

==========================================

camd=# \c camd postgres

You are now connected to database "camd" as user "postgres".

camd=# create table test(id character varying(80));

CREATE TABLE

camd=# \c cms postgres You are now connected to database "cms" as user "postgres".

cms=# create table test(id character varying(80));

ERROR:  could not create relation "test": Permission denied cms=#

==========================================

 

Thanks,

Venkat

 

 

From: Venkateswara Rao Bondada
Sent: Monday, August 03, 2009 6:26 PM
To: 'pgsql-admin@postgresql.org'
Subject: Create table command fails with permission denied

 

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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Slony-I Version with Postgres 8.4.0
Следующее
От: Brian Modra
Дата:
Сообщение: Re: RAID for the DB filesystem