Re: [GENERAL] invalid byte sequence ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] invalid byte sequence ?
Дата
Msg-id 4047.1156530619@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] invalid byte sequence ?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> I agree with Martijn that putting these into libpq's API 
>> seems like useless clutter.

> Where else to put it?  We need it in libpq anyway if we want this 
> behavior in all client applications (by default).

Having the code in libpq doesn't necessarily mean exposing it to the
outside world.  I can't see a reason for these to be in the API at all.

Possibly we could avoid the duplication-of-source-code issue by putting
the code in libpgport, or someplace, whence both initdb and libpq could
get at it?
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] invalid byte sequence ?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [GENERAL] invalid byte sequence ?