Re: pulling libpqtypes from queue

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Chernow <ac(at)esilo(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Merlin Moncure <mmoncure(at)gmail(dot)com>, tomas(at)tuxteam(dot)de, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pulling libpqtypes from queue
Date: 2008-04-15 15:51:11
Message-ID: 20080415155111.GF4429@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Chernow escribió:

> Maybe we'll get enough support in the future to get our stubs into core.
> Until then, you'll have to patch libpq. We plan to provide binary
> patches for the major platforms. You won't have to patch the guts of
> pqtypes though because that is dynamically loaded behind PQtypesLoad ...
> you just need libpqtypes.[so|dll] in your libpath.

Requiring your users to patch libpq is not going to gain libpqtypes much
acceptance. It would be far better if it can be enabled by just calling
some additional function in the application code (after requiring the
app to link with pqtypes of course). This additional function would
set up pqtypes for later use.

I don't really see the problem you got with the hooks.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-04-15 15:58:01 Re: WIP: Pg_upgrade - page layout converter (PLC) hook
Previous Message Gregory Stark 2008-04-15 15:49:51 Re: stack smashing detected