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

From Tom Lane
Subject Re: [PATCH] automatic integer conversion
Date
Msg-id 28834.1197157802@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] automatic integer conversion  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: [PATCH] automatic integer conversion  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-patches
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> 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?

Indeed.  For starters, if we are going to try to provide serious
support in libpq for binary-format parameters, it probably ought to
cover more than just integers.  OTOH, I think we've already seen
where that line of thought leads, and it looks pretty ugly too:
http://archives.postgresql.org/pgsql-patches/2007-12/msg00014.php

Anyway, I'd like to see a design discussion about what any libpq API
changes in this area ought to look like, rather than having it be
determined by who can submit the quickest-and-dirtiest patch.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Patch for PQconnectionUsedPassword brain-damage
Next
From: "Merlin Moncure"
Date:
Subject: Re: [PATCH] automatic integer conversion