GRANT problem ?

From: "GRIMOIS Eric" <eric(dot)grimois(at)cpam-cergypontoise(dot)cnamts(dot)fr>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: GRANT problem ?
Date: 2002-03-12 10:16:19
Message-ID: 000b01c1c9ae$f3a42d40$3d04a837@PXXXX
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi

I get a error message when i do an INSERT in a table (Absence_jour)
containing a SERIAL field :

ERROR: absence_jour_id_seq.nextval: you don't have permissions to set
sequence absence_jour_id_seq

It fails (with PSQL and ODBC) when i connect as a simple user (gddtest), but
i granted all privileges on the table for him
with the command GRANT ALL PRIVILEGES ON Absence_jour TO gddtest !
It works when i connect as a superuser (the user who created the table).

Hints (maybe) : PostgreSQL 7.2 compiled on AIX 4.2 with GCC 2.95.2

Thanks

Eric GRIMOIS
Analyste programmeur
SEI - CPAM du Val d'Oise

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message PGMailList 2002-03-12 11:58:05 Re: GRANT problem ?
Previous Message Florian Weimer 2002-03-12 09:18:55 Re: SELECT FOR UPDATE