From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #956: plperl vs. plperlu |
Date: | 2003-04-26 11:47:25 |
Message-ID: | 20030426114725.BDB1147580B@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
A.Bhuvaneswaran (bhuvansql(at)myrealbox(dot)com) reports a bug with a severity of 4
The lower the number the more severe it is.
Short Description
plperl vs. plperlu
Long Description
Hi,
FYI, in 7.3.2, we are unable to create two languages viz, plperl and plperlu since he is trying to create the function(plperl_call_handler) and the language everytime. Infact it is not documented anywhere in the release. Someone correct me, if i am wrong. FYI, i have included the output of createlang command.
regards,
bhuvaneswaran
Sample Code
$ createlang -e -L /usr/lib/postgresql/ -d test_pg 'plperl';
SELECT oid FROM pg_language WHERE lanname = 'plperl';
SELECT oid FROM pg_proc WHERE proname = 'plperl_call_handler' AND prorettype = 0 AND pronargs = 0;
SET autocommit TO 'on';CREATE FUNCTION "plperl_call_handler" () RETURNS LANGUAGE_HANDLER AS '/usr/lib/postgresql//plperl' LANGUAGE C;
SET autocommit TO 'on';CREATE TRUSTED LANGUAGE "plperl" HANDLER "plperl_call_handler";
$ createlang -e -L /usr/lib/postgresql/ -d test_pg 'plperlu';
SELECT oid FROM pg_language WHERE lanname = 'plperlu';
SELECT oid FROM pg_proc WHERE proname = 'plperl_call_handler' AND prorettype = 0 AND pronargs = 0;
SET autocommit TO 'on';CREATE FUNCTION "plperl_call_handler" () RETURNS LANGUAGE_HANDLER AS '/usr/lib/postgresql//plperl' LANGUAGE C;
ERROR: function plperl_call_handler already exists with same argument types
createlang: language installation failed
$
No file was uploaded with this report
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-26 15:23:26 | Re: Bug #956: plperl vs. plperlu |
Previous Message | pgsql-bugs | 2003-04-26 11:34:43 | Bug #955: server crashes during plperl execution |