Unix Technical Forum

GRANT role docs inconsistency

This is a discussion on GRANT role docs inconsistency within the pgsql Hackers forums, part of the PostgreSQL category; --> The manual says: GRANT role [, ...] TO { username | GROUP groupname | PUBLIC } [, ...] [ ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 04:14 AM
Magnus Hagander
 
Posts: n/a
Default GRANT role docs inconsistency

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


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 04:17 AM
Tom Lane
 
Posts: n/a
Default Re: GRANT role docs inconsistency

"Magnus Hagander" <mha@sollentuna.net> writes:
> The manual says:
> GRANT role [, ...]
> TO { username | GROUP groupname | PUBLIC } [, ...] [ WITH ADMIN
> OPTION ]


It doesn't say that anymore:

http://archives.postgresql.org/pgsql...8/msg00034.php


Perhaps we ought to start thinking about an 8.1 update release ---
we haven't had any forcing functions like security issues for awhile,
but we've accumulated a fair number of plain ol' bug fixes.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-12-2008, 04:23 AM
Magnus Hagander
 
Posts: n/a
Default Re: GRANT role docs inconsistency

> > GRANT role [, ...]
> > TO { username | GROUP groupname | PUBLIC } [, ...] [ WITH

> ADMIN
> > OPTION ]

>
> It doesn't say that anymore:
>
> http://archives.postgresql.org/pgsql-committers/2006-
> 08/msg00034.php
>


Pfft. I need to remember to check development docs as well :-) sorry
about the noise.


> Perhaps we ought to start thinking about an 8.1 update release ---
> we haven't had any forcing functions like security issues for
> awhile, but we've accumulated a fair number of plain ol' bug fixes.


If nothing else, it should IMHO be scheduled to happen well before the
8.2 release, simply to "clear the queue" before that one. We can still
end up with the need to have an urgent release because of a security
issue or something, but it's probably a good idea not to have a
scheduled release in the stable branches at the same time as the new
major version...

//Magnus


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com