Re: [PATCHES] libpq type system 0.9a

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Andrew Chernow <ac(at)esilo(dot)com>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] libpq type system 0.9a
Date: 2008-04-08 23:18:31
Message-ID: 9748.1207696711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Bruce Momjian wrote:
>> The idea of pgfoundry was that it would be an independent library and
>> could be used by people who need it.

> I don't think phasing it out to pgfoundry is a good idea, because it has
> some dependency on the OIDs of datatypes.

Well, if you'll remind me of the last time we changed the OID of a
standard datatype, I'd put some credence in that argument.

> Besides, it is likely that it
> could be used by ecpg instead of it having its own PGTYPES stuff.

Yeah, Bruce and I were talking about that, but on reflection I'm not
sure that there's much potential commonality. The thing that's most
problematic about ecpg is that it wants to offer client-side equivalents
of some server datatype-manipulation functions; and I don't actually see
much of any of that in the proposed patch. All that's really here is
format conversion stuff, so there's no hope of unifying that code
unless this patch adopts ecpg's choices of client-side representation
(which I believe are mostly Informix legacy choices, so I'm not sure we
want that).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-08 23:29:44 Re: [PATCHES] libpq type system 0.9a
Previous Message Merlin Moncure 2008-04-08 23:05:47 Re: [PATCHES] libpq type system 0.9a

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-04-08 23:29:44 Re: [PATCHES] libpq type system 0.9a
Previous Message Merlin Moncure 2008-04-08 23:05:47 Re: [PATCHES] libpq type system 0.9a