Re: [PATCH] automatic integer conversion - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [PATCH] automatic integer conversion
Date
Msg-id 20071208205356.GA13665@alvh.no-ip.org
Whole thread Raw
In response to [PATCH] automatic integer conversion  (xeb@mail.ru)
Responses Re: [PATCH] automatic integer conversion
List 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 by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Proposed patch to make mergejoin cost estimationmore symmetric
Next
From: Tom Lane
Date:
Subject: Patch for PQconnectionUsedPassword brain-damage