BUG #5277: plperl can't get args properly

From: "louis" <louis01010100(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5277: plperl can't get args properly
Date: 2010-01-14 11:06:23
Message-ID: 201001141106.o0EB6NR3075826@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5277
Logged by: louis
Email address: louis01010100(at)gmail(dot)com
PostgreSQL version: 8.4.2
Operating system: PostgreSQL 8.4.2 on x86_64-pc-linux-gnu, compiled by GCC
gcc-4.4.real (Ubuntu 4.4.1-4ubuntu8) 4.4.1, 64-bit
Description: plperl can't get args properly
Details:

Arguments can't be passed to a plperl function

function definition:
====================
create or replace function foo(text) returns text as $$
return $_[0];
$$ language plperl;

test:
=====
select foo('a');

result:
=======
INFO:
foo
-----
(1 row)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Vincenzo Romano 2010-01-14 14:26:27 Re: BUG #5274: [PL/PgSQL] EXECUTE ... USING variable expansion
Previous Message Pavel Stehule 2010-01-14 08:54:41 Re: BUG #5274: [PL/PgSQL] EXECUTE ... USING variable expansion