Re: problem with grant all privileges

From: Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: problem with grant all privileges
Date: 2014-01-28 00:40:56
Message-ID: CAE3Q8omhJ+Pqir9wNT=vJZ+6oF3SkgBE3FmShdcM+FJKk46Btg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This is 9.2

On Mon, Jan 27, 2014 at 4:16 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Adrian Klaver <adrian(dot)klaver(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-01-28 00:48:33 Re: problem with grant all privileges
Previous Message Tom Lane 2014-01-28 00:16:36 Re: problem with grant all privileges