pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Chandan_Kumaraiah <Chandan_Kumaraiah@satyam.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: connectby queries
Date: Mon, 28 Mar 2005 09:37:01 -0700
Message-ID: <20050328163701.GA71083@winnie.fuhr.org> (raw)
In-Reply-To: <2EB549AAAFEA264FA926269A5BD5E9EB146590@certsrv.satyam.com>
References: <2EB549AAAFEA264FA926269A5BD5E9EB146590@certsrv.satyam.com>

On Mon, Mar 28, 2005 at 02:02:32PM +0530, Chandan_Kumaraiah wrote:
>
> How do I write hierarchical queries in postgresql, which I would write
> using 'connectby' in oracle??

The contrib/tablefunc module has a connectby() function -- does it
do what you want?

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (2+ messages)

Message-ID: <20050328163701.GA71083@winnie.fuhr.org>
Permalink:  ../20050328163701.GA71083@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050328163701.GA71083@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, Chandan_Kumaraiah@satyam.com
  Subject: Re: connectby queries
  In-Reply-To: <20050328163701.GA71083@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox