"Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch> 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 parameters yet. You'll need to make an
explicitly declared composite type for the result rows, instead.
regards, tom lane