Re: Probably badly timed suggestion: pl/perl calling style same as C style - Mailing list pgsql-hackers

From Alex Hunsaker
Subject Re: Probably badly timed suggestion: pl/perl calling style same as C style
Date
Msg-id 34d269d41002241617q565e439er7394f2f2aba3a97c@mail.gmail.com
Whole thread Raw
In response to Probably badly timed suggestion: pl/perl calling style same as C style  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
On Wed, Feb 24, 2010 at 14:35, Richard Huxton <dev@archonet.com> wrote:
> With plperl.on_init allowing the loading of modules, might there be some
> merit (and little cost) in allowing the same style of function-mapping as
> with C functions?
>
> CREATE FUNCTION add_one(integer) RETURNS integer
>     AS 'DIRECTORY/funcs', 'add_one'
>     LANGUAGE C STRICT;
>
> CREATE FUNCTION add_one(integer) RETURNS integer
>     AS 'My::Package', 'add_one'
>     LANGUAGE plperl STRICT;

Interesting... Seems like a good idea.  But it aint gonna happen for 9.0 :(


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stop_backup does not complete
Next
From: "Joshua D. Drake"
Date:
Subject: Re: pg_stop_backup does not complete