Re: Exposing keywords to clients

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Exposing keywords to clients
Дата
Msg-id 937d27e10805031344n440e5ea5mbff6f5cda9d548f9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Exposing keywords to clients  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Exposing keywords to clients  (Nikhils <nikkhils@gmail.com>)
Список 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

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Exposing keywords to clients
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Multiline privileges in \z