Re: [PATCH] automatic integer conversion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: xeb(at)mail(dot)ru, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCH] automatic integer conversion
Date: 2007-12-08 23:50:02
Message-ID: 28834.1197157802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Merlin Moncure 2007-12-09 02:27:04 Re: [PATCH] automatic integer conversion
Previous Message Tom Lane 2007-12-08 23:35:46 Patch for PQconnectionUsedPassword brain-damage