| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
| Cc: | Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(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:16:36 |
| Message-ID: | 26718.1390868196@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Susan Cassidy | 2014-01-28 00:40:56 | Re: problem with grant all privileges |
| Previous Message | Tom Lane | 2014-01-28 00:12:32 | Re: pg_dump: dumpBlobs(): could not open large object: ERROR: large object 27729547 does not exist |