"Philippe Lang" <[EMAIL PROTECTED]> writes:
> CREATE FUNCTION perl_test(a inout integer, b inout integer, r1 out integer,
> r2 out integer) SETOF record AS
> How would you translate that in PL/Ruby?
I think you wouldn't :-( --- AFAICT from the documentation, plruby
doesn't know about OUT paramet
Hi,
I am testing PL/Perl under Postgresql 8.1.3, and I habe the following test
procedure:
--
CREATE FUNCTION perl_test(a inout integer, b inout integer, r1 out integer,
r2 out integer) SETOF record AS
'
my ($a, $b) = @_;
$r1 = $a + $b;
$r2 = $a * $b;
return_next {a
Apparently, PL/Ruby has an undocumented flag that you can pass it. :-)
http://rubyurl.com/Dz2 (usage)
http://rubyurl.com/t3S (install)
-Robby
--
/**
* Robby Russell, Owner.Developer.Geek
* PLANET ARGON, Open Source Solutions & Web Hosting
* P
Hello David, thanks, changing to Ruby18 solved my problem after some
manual passages with woodoo around the computer :)
Best regards,
Anton Nikiforov
David Garamond wrote:
Anton Nikiforov wrote:
Thanks, David, but i did try this way already and in the case i build
plruby like this i have the fo
Anton Nikiforov wrote:
Dear sirs,
Does someone made PL/Ruby working on 4.7.1?
I tried alot of things. Manual install, port install and nothing happend.
Please give me the idea how to fix the problem with
plruby.c: In function `pl_tuple_put':
plruby.c:498: error: too few arguments to function `tuple
Dear sirs,
Does someone made PL/Ruby working on 4.7.1?
I tried alot of things. Manual install, port install and nothing happend.
Please give me the idea how to fix the problem with
plruby.c: In function `pl_tuple_put':
plruby.c:498: error: too few arguments to function `tuplestore_begin_heap'
plrub