Re: Assessment on namespace clean include file names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assessment on namespace clean include file names
Дата
Msg-id 8531.998681493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Assessment on namespace clean include file names  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> I see no reason why we can't drop the other shoe and stop exporting
>> libpq-int.h (or more accurately, move it out of the public namespace,
>> same as you propose for backend headers).

>> "server" may not be a great choice if we want to stick libpq-int.h into
>> it too...

> The directory wasn't meant as a place for hiding things to avoid using
> them, it was supposed to be a really official place for interfacing to the
> server.  If we want to hide things maybe we should have an "obsolete"
> subdirectory or some such.

"obsolete" is certainly not the right term either.  Maybe we should have
an "interfaces" directory, parallel to "server", for internal-ish
includes of our interface libraries.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCHES] encoding names
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Assessment on namespace clean include file names