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


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to