Re: [GENERAL] PL/Ruby, INOUT parameters / SETOF record

2006-04-26 Thread Tom Lane
"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

[GENERAL] PL/Ruby, INOUT parameters / SETOF record

2006-04-26 Thread Philippe Lang
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

[GENERAL] PL/Ruby untrusted

2005-08-22 Thread Robby Russell
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

Re: [GENERAL] PL/Ruby

2004-05-09 Thread Anton Nikiforov
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

Re: [GENERAL] PL/Ruby

2004-02-06 Thread David Garamond
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

[GENERAL] PL/Ruby

2004-02-06 Thread Anton Nikiforov
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