Re: permissions

From: Thomas Beutin <tyrone(at)laokoon(dot)IN-Berlin(dot)DE>
To: Vitaly <agri(at)desnol(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: permissions
Date: 2003-02-19 08:51:30
Message-ID: 20030219095130.B22753@laokoon.bug.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Feb 19, 2003 at 11:25:33AM +0300, Vitaly wrote:
> Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: groups_id_seq.nextval: you don't have permissions to set sequence groups_id_seq . in /usr/var/web/owl/phplib/db_pgsql.inc on line 67
> Database error: Invalid SQL: INSERT INTO groups (name) VALUES ('desnol')
> PostgreSQL Error: 1 (ERROR: groups_id_seq.nextval: you don't have permissions to set sequence groups_id_seq )
> Session halted.
>
> Please help... what should i do to permit this operation?
GRANT ALL ON "groups_id_seq" TO <user>;

<user> must be the database user who is connected to the database.

-tb
--
Thomas Beutin tb(at)laokoon(dot)IN-Berlin(dot)DE
Beam me up, Scotty. There is no intelligent live down in Redmond.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2003-02-19 09:03:31 Re: problems with tsearch
Previous Message Shridhar Daithankar<shridhar_daithankar@persistent.co.in> 2003-02-19 08:44:07 Re: Table Partitioning in Postgres: