Received: from www.la-rubber.com (unknown [216.31.142.3]) by postgresql.org (Postfix) with ESMTP id 164D047546E for ; Wed, 10 Jul 2002 20:24:36 -0400 (EDT) Received: from la-rubber.com (server [127.0.0.1]) by www.la-rubber.com (8.11.6/8.11.6) with SMTP id g6B0bee11132 for ; Wed, 10 Jul 2002 17:37:40 -0700 Received: from 10.1.1.39 (SquirrelMail authenticated user ddurst) by www.la-rubber.com with HTTP; Wed, 10 Jul 2002 17:37:41 -0700 (PDT) Message-ID: <1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com> Date: Wed, 10 Jul 2002 17:37:41 -0700 (PDT) Subject: Returning rows from functions From: "David Durst" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200207/148 X-Sequence-Number: 8527 I was wondering if there was a way of returning a complete row from a function, in reading the documentation of CREATE FUNCTION. I was under the impression that you could return a row by using setof, but this does not seem to be true. Can anyone help?