Re: GRANT giving error on sequence in 7.4.19

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: "Kakoli Sen" <kakolis(at)cdacb(dot)ernet(dot)in>
Subject: Re: GRANT giving error on sequence in 7.4.19
Date: 2008-03-14 13:50:00
Message-ID: 200803140650.00759.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 14 March 2008 4:19 am, Kakoli Sen wrote:
> Hello all,
> I'm giving the query
> GRANT ALL PRIVILEGES ON SEQUENCE object_seq TO tester;
> ERROR: syntax error at or near "object_seq" at character 34.
>
> \ds is listing out the sequence.
>
> Regards,
>
> Kakoli

Try:
GRANT ALL PRIVILEGES ON object_seq TO tester;
There is no SEQUENCE keyword in the GRANT command in 7.4 and a SEQUENCE is
basically a one row table.
--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-03-14 14:01:35 Re: Reindex does not finish 8.2.6
Previous Message Clodoaldo 2008-03-14 13:31:18 Re: Reindex does not finish 8.2.6