GRANT role docs inconsistency

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: GRANT role docs inconsistency
Date: 2006-08-29 14:59:50
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA355E9@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The manual says:
GRANT role [, ...]
TO { username | GROUP groupname | PUBLIC } [, ...] [ WITH ADMIN
OPTION ]

But:
postgres=# GRANT test TO GROUP test2;
ERROR: syntax error at or near "GROUP" at character 15
LINE 1: GRANT test TO GROUP test2;

Either I can't read the docs :-), or the docs are wrong, or the code is
wrong...

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2006-08-29 15:02:41 Re: [HACKERS] Interval aggregate regression failure (expected seems
Previous Message Andrew Dunstan 2006-08-29 14:50:29 Re: python / 7.4 / FC5 / x86_64