X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id EB8D311F6AEB for ; Sat, 8 Apr 2006 18:10:37 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 required=5 tests=[none] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id wljTzvsTpaAT for ; Sat, 8 Apr 2006 18:10:24 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by postgresql.org (Postfix) with ESMTP id 4719911F693C for ; Sat, 8 Apr 2006 18:10:35 -0300 (ADT) Received: by xproxy.gmail.com with SMTP id h31so469779wxd for ; Sat, 08 Apr 2006 14:10:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EC0Hs39Wo3iew7GoQ8EAqewltdmsjK5RkIV/pOtYI1eaiF0MadNsz21DhK6DojldqnXjofEZDncniSZB1l5uNNIKgRuH1DSFSjWKwVXaIHjhSt4scJttRMWVJ/zOUVaTpxoAYYcEx6IS1PKs8GfomGy58vAZXq+OcsJK6sn7QOc= Received: by 10.70.51.8 with SMTP id y8mr3592212wxy; Sat, 08 Apr 2006 14:10:38 -0700 (PDT) Received: by 10.70.18.2 with HTTP; Sat, 8 Apr 2006 14:10:38 -0700 (PDT) Message-ID: <45435c1a0604081410o12d5a456x1fb6d09ce8973cc6@mail.gmail.com> Date: Sun, 9 Apr 2006 07:10:38 +1000 From: "Keith Hutchison" To: pgsql-sql@postgresql.org Subject: Returning a set from an function MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Archive-Number: 200604/58 X-Sequence-Number: 24867 G'day, Looking for an example showing how to return a set from either a sql function or a plpsqq function. Thanks -- Keith Hutchison http://balance-infosystems.com http://realopen.org http://www.kasamba.com/Keith-Hutchison