From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Andrew Chernow <ac(at)esilo(dot)com> |
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 00:25:40 |
Message-ID: | 200804090025.m390PeN05860@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Andrew Chernow wrote:
> Your method would work as well. The only issue is you still have the
> same issue of binary distributed libpqs. Would redhat distribute a
> binary linked with libpqtypes? If not, you have the same issue of the
> end-user having to compile libpq ... passing -lpqtypes to the linker.
> If redhat did link it, you run into the disk space complaint all over again.
>
> My suggestion was trying to work around this by dynamically loading the
> library, PQtypesEnable(TRUE). In this model, redhat doesn't even have
> to distribute libpqtypes.so (considering the disk space issue). It
> could be easily be an additional download. All you need are some proxy
> functions inside libpq, PQputf calling a dynamically loaded function.
> This passes the disk space complaints and doesn't require a re-compile
> if an end-user wants to use it.
I don't see requiring users to add -lpqtypes to use these functions as a
problem. The idea is that the default libpq would have enough hooks
that you could use it without modification.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2008-04-09 00:30:45 | Re: [PATCHES] libpq type system 0.9a |
Previous Message | Josh Berkus | 2008-04-09 00:24:15 | Calling GSoc Mentors |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2008-04-09 00:30:45 | Re: [PATCHES] libpq type system 0.9a |
Previous Message | Andrew Dunstan | 2008-04-09 00:24:11 | Re: [PATCHES] libpq type system 0.9a |