Re: Exposing keywords to clients - Mailing list pgsql-patches

From Dave Page
Subject Re: Exposing keywords to clients
Date
Msg-id 937d27e10805031344n440e5ea5mbff6f5cda9d548f9@mail.gmail.com
Whole thread Raw
In response to Re: Exposing keywords to clients  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Exposing keywords to clients
List pgsql-patches
On Sat, May 3, 2008 at 9:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Dave Page" <dpage@pgadmin.org> writes:
> > Attached is an updated patch, giving the following output.
>
> Oh, one other thing: dropping externs into random modules unrelated to
> their source module is completely awful programming style, because there
> is nothing preventing incompatible declarations.  Put those externs in
> keywords.h instead.

OK.

> I suspect you have ignored a compiler warning
> about not declaring pg_get_keywords itself, too --- it should be
> extern'd in builtins.h.

No, no warning (I'm using VC++ today) - but fixed anyway.

Update attached, including corrected docs. Note to self - proof read
docs *after* putting the kids to bed in future.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exposing keywords to clients
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Multiline privileges in \z