Re: Patch for %Allow per-database permissions to be set - Mailing list pgsql-patches

From Gevik Babakhani
Subject Re: Patch for %Allow per-database permissions to be set
Date
Msg-id 1146435476.31253.15.camel@voyager.truesoftware.net
Whole thread Raw
In response to Re: Patch for %Allow per-database permissions to be set via  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Sun, 2006-04-30 at 15:29 -0400, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Documentation added, patch attached and applied.  Thanks.
>
> I just got around to reading this patch.  Why is the syntax GRANT CONNECTION
> and not GRANT CONNECT?  Privilege names are generally verbs not nouns.
> Unless someone can point to a good reason for CONNECTION, I'm going to
> change it.

The main reason for this was because, in the beginning when I was
gathering information for developing this patch, I read something about
not introducing a new reserved word. So I used CONNECTION as the first
relevant word I could find in the token list from gram.y. Later on we
did not discussed anything about the *CONNECT* or *CONNECTION

Regards,
Gevik.



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for %Allow per-database permissions to be set via
Next
From: Bruce Momjian
Date:
Subject: Re: Patch for %Allow per-database permissions to be set via