Re: [PATCHES] libpq type system 0.9a

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andrew Chernow <ac(at)esilo(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, 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:58:54
Message-ID: 47FCCB9E.1070008@dunslane.net
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.

They would get it the same way they would get anything else that uses
libpq that isn't packaged with it (e.g. DBD::Pg). They would either get
the package that contains it, if it exists, or get the source and build
it. The package with the dependent library might belong in the extras
collection, while Tom's goal (and it's a good one) is to keep libpq in
the core collection.

I don't get what you're not seeing about this.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-09 14:15:49 Re: [PATCHES] libpq type system 0.9a
Previous Message Andrew Chernow 2008-04-09 13:31:56 Re: [PATCHES] libpq type system 0.9a