By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,811 Members | 1,978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,811 IT Pros & Developers. It's quick & easy.

Problems with GRANTING SELECT to a table

P: n/a

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
Nov 11 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Amin Schoeib" <as******@4tek.de> writes:
Here is what I did:
test=3D> GRANT SELECT ON "poi"."fondsstamm" TO "flex";
Now when I try to select from the table poi.fondsstamm
I become always the error: Permission denied,


Did you grant usage on the schema "poi" ?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 11 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.