pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: GRIMOIS Eric <eric.grimois@cpam-cergypontoise.cnamts.fr>
To: pgsql-sql@postgresql.org
Subject: GRANT problem ?
Date: Tue, 12 Mar 2002 11:16:19 +0100
Message-ID: <000b01c1c9ae$f3a42d40$3d04a837@PXXXX> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <000b01c1c9ae$f3a42d40$3d04a837@PXXXX>
Permalink:  ../000b01c1c9ae$f3a42d40$3d04a837@PXXXX/
Also on:    postgresql.org/message-id/000b01c1c9ae$f3a42d40$3d04a837@PXXXX

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: eric.grimois@cpam-cergypontoise.cnamts.fr
  Subject: Re: GRANT problem ?
  In-Reply-To: <000b01c1c9ae$f3a42d40$3d04a837@PXXXX>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox