| From: | samı <sami(dot)jan(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | plperl "set-valued function" problem |
| Date: | 2007-04-09 09:24:11 |
| Message-ID: | 1176110651.638325.299640@w1g2000hsg.googlegroups.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi
I am using PostgreSQL 8.2.3 on WindowsXP
I am using the PL/Perl regression tests located here:
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/test/Attic/test_queries.sql
and comparing them to the expected output located here:
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/test/Attic/test.expected
==============================================
The following function call gives an error :
CREATE OR REPLACE FUNCTION perl_set_int(int) RETURNS SETOF INTEGER AS $
$
return undef;
$$ LANGUAGE plperl;
> SELECT perl_set_int(5);
"ERROR: set-valued function called in context that cannot accept a
set"
The .expected file above for the regression tests indicates that the
test should be successful:
SELECT perl_set_int(5);
perl_set_int
--------------
(0 rows)
================================================
Did I miss anything? Is this problem known or is this not a problem at
all?
Thanks
Sami
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Markus Schiltknecht | 2007-04-09 09:35:41 | Pg schema diff tools Was: [ANNOUNCE] == PostgreSQL Weekly News - April 08 2007 == |
| Previous Message | Alexey Nalbat | 2007-04-09 09:24:04 | deadlock |