grant user access

From: Tom Allison <tallison(at)tacocat(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: grant user access
Date: 2004-07-18 01:38:13
Message-ID: 40F9D485.8040104@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm stuck.

How do I grant select, insert, delete, update rights to an entire database?

I tried this:

GRANT SELECT, INSERT, UPDATE, DELETE ON DATABASE foo TO bar;

and it returns
ERROR: syntax error at or near "INSERT" at character 14

I'm just not getting it, it sure looks like I should be able to.
I'm logged in as postgres.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-07-18 02:58:15 Re: URGENT pg_xlog full impossible to restart ...
Previous Message Bruce Momjian 2004-07-18 01:10:14 Re: URGENT pg_xlog full impossible to restart ...