Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4A7669FB536; Thu, 15 Feb 2007 13:57:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 40935-02; Thu, 15 Feb 2007 13:57:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 404339FC0AD; Thu, 15 Feb 2007 13:54:10 -0400 (AST) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C695F759F5; Thu, 15 Feb 2007 17:49:46 +0000 (GMT) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 7AFD9274025; Thu, 15 Feb 2007 17:49:46 +0000 (GMT) Message-ID: <45D49D3A.9090808@archonet.com> Date: Thu, 15 Feb 2007 17:49:46 +0000 From: Richard Huxton User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: gayathri jayapal Cc: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] clarififcation References: <133614.25377.qm@web35815.mail.mud.yahoo.com> In-Reply-To: <133614.25377.qm@web35815.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.206 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200702/221 X-Sequence-Number: 24686 gayathri jayapal wrote: > Hai, > > I started working on postgresql, I want to know how to write the " > connect by" clause of oracle. My problem is i have a table with id, > parent id. In same table i will insert the record with parent id as > previous row id. I want fetch the records in the hierarchy. how do i > do it. If you installed from source, look in .../contrib/tablefunc/ for an installable connectby() function. If you installed by package, there is usually one or more additional packages containing the contrib stuff. > Pls help me. I want to get in touch with developers and then i need > to try multi master replication also. There are no pre-packaged multi-master replication solutions at the moment. The first thing you'll have to do in building such a solution is decide on how you want to deal with conflicting updates. -- Richard Huxton Archonet Ltd