[EMAIL PROTECTED] 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) ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend