Re: Limit usage of tcop/dest.h

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Limit usage of tcop/dest.h
Дата
Msg-id 200511021522.jA2FMKQ17622@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Limit usage of tcop/dest.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Limit usage of tcop/dest.h  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-patches
Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > So instead of changing the names of the CommandDest enum, I'm hiding it
> > from external view.
>
> I thought renaming them was a better idea, actually.  A whole separate
> include file to have one forward typedef seems pretty silly.  Nor am I
> convinced that you won't break some people's code by removing the rest
> of dest.h from spi.h.  Finally, for anyone who *does* need to include
> dest.h, this doesn't address the underlying problem of risk of conflict
> of names.

Does the change make building PL/PHP easier?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tsearch2 makefile fixes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Limit usage of tcop/dest.h