Re: [PATCHES] libpq type system 0.9a

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, 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-09 13:31:56
Message-ID: 47FCC54C.5010605@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Chernow wrote:
> Andrew Chernow wrote:
>>>
>>> Well, I can get it working with a very small patch. We actually
>>> don't need very much in libpq. Although, making it somehow generic
>>> enough to be useful to other extensions is a bit tricky. Please,
>>> suggestions would be helpful.
>>>
>>
>
> Quick question on the hook concept before I try to supply a new patch.
>
> From my experience, redhat normally compiles everything into their
> packages; like apache modules. Why would libpq be any different in
> regards to libpqtypes?
>
> If they don't distribute libpqtypes, how does a libpq user link with
> libpqtypes? They don't have the library. Where would they get a
> libpqtypes.so that is compatible with redhat's supplied libpq.so?
>
> The core of what I am trying to ask is, there doesn't appear to be an
> advantage to separating libpqtypes from libpq in terms of space. If
> redhat follows their normal policy of include all (probably to make
> their distro as feature rich out-of-the-box as possible), then they
> would distribute libpqtypes.so which would use the same amount of space
> as if it were part of libpq.
>

By the way, I offered up the idea of compiling our patch in or out,
./configure --with-pqtypes. But Tom had said

>>[shrug...] So the packagers will compile it out, and you're
>>still hosed, or at least any users who'd like to use it are.

If redhat would compile out our patch, no questions asked, why would
they distribute libpqtypes.so. Meaning, separating it out doesn't seem
to unhose us :)

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2008-04-09 13:56:18 Re: SQL fast in PSQL, very slow using MS.NET driver
Previous Message Andrew Chernow 2008-04-09 13:26:10 Re: [PATCHES] libpq type system 0.9a

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2008-04-09 13:58:54 Re: [PATCHES] libpq type system 0.9a
Previous Message Andrew Chernow 2008-04-09 13:26:10 Re: [PATCHES] libpq type system 0.9a