Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: PL/Ruby, INOUT parameters / SETOF record



"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group