Re: problem with grant all privileges - Mailing list pgsql-general

From Susan Cassidy
Subject Re: problem with grant all privileges
Date
Msg-id CAE3Q8omhJ+Pqir9wNT=vJZ+6oF3SkgBE3FmShdcM+FJKk46Btg@mail.gmail.com
Whole thread Raw
In response to Re: problem with grant all privileges  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: problem with grant all privileges
List pgsql-general
This is 9.2



On Mon, Jan 27, 2014 at 4:16 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Adrian Klaver <adrian.klaver@gmail.com> writes:
> On 01/27/2014 01:45 PM, Susan Cassidy wrote:
>> I tried:
>> GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO testuser;
>> and I get:
>> ERROR:  syntax error at or near "ALL"
>> Am I misinterpreting the syntax for this?

> Depends on what version of Postgres you are working with. The syntax of
> commands changes with time.

That syntax works for me back to 9.0, but 8.4 gives the described error;
which is unsurprising when you examine the respective documentation.

                        regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with grant all privileges
Next
From: Tom Lane
Date:
Subject: Re: problem with grant all privileges