X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AA57852971 for ; Fri, 1 Jul 2005 14:28:00 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54301-02 for ; Fri, 1 Jul 2005 17:27:53 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 74D4A52915 for ; Fri, 1 Jul 2005 14:27:52 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7558435; Fri, 01 Jul 2005 10:30:01 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Nick Stone" Subject: Re: Some help please Date: Fri, 1 Jul 2005 10:30:03 -0700 User-Agent: KMail/1.8 Cc: pgsql-sql@postgresql.org References: <20050701161438.D7872253DB6@smtp.nildram.co.uk> In-Reply-To: <20050701161438.D7872253DB6@smtp.nildram.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507011030.03397.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.046 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/7 X-Sequence-Number: 21985 Nick, > I'm interested in using the connectby() function which I gather from the > lists can be used in a similar way to the Oracle connect by ... PRIOR > functionality. Does anybody know where there's an example of this in use > or better still could somebody post an example. Examples are in the /contrib directory where the connectby source is: /contrib/tablefunc/README.tablefunc -- --Josh Josh Berkus Aglio Database Solutions San Francisco