Re: [PATCH] automatic integer conversion

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] automatic integer conversion
Дата
Msg-id 20071208205356.GA13665@alvh.no-ip.org
обсуждение исходный текст
Ответ на [PATCH] automatic integer conversion  (xeb@mail.ru)
Ответы Re: [PATCH] automatic integer conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
xeb@mail.ru wrote:
> Hello!
> Here is patch which makes libpq more confortable when working with binary integers.
> Automatic conversion intialized by PQsetconvertint(conn,1), so old
> applications continues to work proper.

This seems to depend on <byteswap.h> which doesn't look like a portable
interface.

Please note that I'm not saying that fixing that issue means the patch
is acceptable.  Personally I'm not sure that this is a worthy goal you
are pursuing here.  Wouldn't it be a good idea to propose the feature
first and write the code later?

--
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Proposed patch to make mergejoin cost estimationmore symmetric
Следующее
От: Tom Lane
Дата:
Сообщение: Patch for PQconnectionUsedPassword brain-damage