Problems with GRANTING SELECT to a table - Mailing list pgsql-general

From Amin Schoeib
Subject Problems with GRANTING SELECT to a table
Date
Msg-id 70DD6153277512439CA4B66956A3098132D075@pdc.4tek-net.4tek.de
Whole thread Raw
Responses Re: Problems with GRANTING SELECT to a table  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

Hi,
I have a problem with permissions for SELECT.

Here is what I did:

test=> GRANT SELECT ON "poi"."fondsstamm" TO "flex";
GRANT

test=> \dp fondsstamm;
        Access privileges for database "test"
 Schema |   Table    |       Access privileges
--------+------------+-------------------------------
 poi    | fondsstamm | {=arwdRxt,poi=arwdRxt,flex=r}
(1 row)

Now when I try to select from the table poi.fondsstamm
I become always the error: Permission denied,

> psql test flex
Welcome to psql 7.3.2, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

test=> select * from poi.fondsstamm;
ERROR:  poi: permission denied

What am I doing wrong??

Thanxx

Schoeib

4Tek Gesellschaft für angewandte Informationstechnologien mbH
Schoeib Amin
Tel.  +49 (0) 69 697688-132
Fax. +49 (0) 69 697688-111
http://www.4tek.de

pgsql-general by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: Commercial postgresql
Next
From: "Amin Schoeib"
Date:
Subject: LAST_DAY Function in Postgres