Re: modules - Mailing list pgsql-hackers

From Tom Dunstan
Subject Re: modules
Date
Msg-id ca33c0a30804050507t5e2b6498pa1eb8aeb90c41d71@mail.gmail.com
Whole thread Raw
In response to Re: modules  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
On Sat, Apr 5, 2008 at 5:11 PM, Martijn van Oosterhout
<kleptog@svana.org> wrote:
>  It even went so far that you could build the install/deinstall scripts
>  into the module itself, so all postgres had to do was dlopen() the
>  module it could access the install script. It fails due to the fact
>  that modules that don't require compilation are left out in the cold...

Well, there's no reason you can't allow both... look for
module_install() in the lib if it's there, or install.sql if it's not.

Cheers

Tom


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: modules
Next
From: Andrew Dunstan
Date:
Subject: Re: column level privileges