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

From: Richard Huxton <dev(at)archonet(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject: Probably badly timed suggestion: pl/perl calling style same as C style
Date: 2010-02-24 21:35:34
Message-ID: 4B859BA6.2090001@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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;

--
Richard Huxton
Archonet Ltd

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-02-24 21:37:41 Re: SR/libpq - outbound interface/ipaddress binding
Previous Message Dave Page 2010-02-24 21:33:57 Re: FW: Unable to install PostgreSQL on Windows Server 2003 SP2