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

2010-02-24 Thread Alex Hunsaker
On Wed, Feb 24, 2010 at 14:35, Richard Huxton 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/f

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

2010-02-24 Thread Mike Rylander
On Wed, Feb 24, 2010 at 4:35 PM, Richard Huxton 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

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

2010-02-24 Thread Richard Huxton
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