Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 21809475D4B for ; Wed, 2 Oct 2002 18:08:59 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 84640475D00 for ; Wed, 2 Oct 2002 18:08:58 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1750026; Wed, 02 Oct 2002 15:07:04 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Robert Treat , pgsql-sql@postgresql.org Subject: Re: celko nested set functions Date: Wed, 2 Oct 2002 15:11:03 -0700 X-Mailer: KMail [version 1.4] References: <1033588081.17940.8.camel@camel> In-Reply-To: <1033588081.17940.8.camel@camel> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210021511.03318.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/32 X-Sequence-Number: 9750 Robert, > I'm wondering if anyone has written code that enables you to move > entities between parents in a nested set model. Specifically something > that can do it without deleting any of the children involved in the > process. I looked in the postgresql cookbook which had adding and > building tree's, but not moving. I'm hoping to find something > postgresql specific but if not that's ok. Thanks in advance, I've been planning on doing this as an article for a while. I'll send you= an=20 answer off-list because I don't want to publicize it until I can add some= =20 commentary. --=20 -Josh Berkus Aglio Database Solutions San Francisco