Re: Probably badly timed suggestion: pl/perl calling style same as C style

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject: Re: Probably badly timed suggestion: pl/perl calling style same as C style
Date: 2010-02-25 00:17:43
Message-ID: 34d269d41002241617q565e439er7394f2f2aba3a97c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 24, 2010 at 14:35, Richard Huxton <dev(at)archonet(dot)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 :(

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2010-02-25 00:18:28 Re: pg_stop_backup does not complete
Previous Message Tom Lane 2010-02-25 00:08:18 Re: pg_stop_backup does not complete