View Single Post

   
  #3 (permalink)  
Old 04-19-2008, 06:24 AM
Tom Lane
 
Posts: n/a
Default Re: [PATCH] automatic integer conversion

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...2/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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote