X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 54AA4DA1E2 for ; Wed, 2 Nov 2005 19:44:29 -0400 (AST) 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 71783-01 for ; Wed, 2 Nov 2005 23:44:26 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id 0B223D9DBD for ; Wed, 2 Nov 2005 19:44:28 -0400 (AST) Received: by flake.decibel.org (Postfix, from userid 1001) id 8BD811529A; Wed, 2 Nov 2005 17:44:30 -0600 (CST) Date: Wed, 2 Nov 2005 17:44:30 -0600 From: "Jim C. Nasby" To: Merlin Moncure Cc: pgsql-www@postgresql.org Subject: Re: [PERFORM] improvise callbacks in plpgsql Message-ID: <20051102234430.GA55520@pervasive.com> References: <6EE64EF3AB31D5448D0007DD34EEB3417DD76D@Herge.rcsinc.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3417DD76D@Herge.rcsinc.local> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.008 required=5 tests=[AWL=0.008] X-Spam-Score: 0.008 X-Spam-Level: X-Archive-Number: 200511/12 X-Sequence-Number: 8727 Can we get a link to this posted somewhere? I guess on techdocs? On Wed, Nov 02, 2005 at 08:45:02AM -0500, Merlin Moncure wrote: > > Would you be willing to write up an example of this? We often get > asked > > about support for WITH, so I bet there's other people who would be > very > > interested in what you've got. > > Sure. In fact, I had already decided this to be the next topic on my > blog. I'm assuming you are asking about tools to deal with recursive > sets in postgresql. A plpgsql solution is extremely fast, tight, and > easy if you do it right...Tom's latest suggestions (I have to flesh this > out some more) provide the missing piece puzzle to make it really tight > from a classic programming perspective. I don't miss the recursive > query syntax at all...IMO it's pretty much a hack anyways (to SQL). > > Merlin > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461