pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Eric <someone@somewhere.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Querying Hierarchical Data
Date: Mon, 03 Mar 2003 10:25:26 -0800
Message-ID: <3E639E16.500@joeconway.com> (raw)
In-Reply-To: <D4z8a.8540$X14.581155@news2.telusplanet.net>
References: <D4z8a.8540$X14.581155@news2.telusplanet.net>

Eric wrote:
> How do I access hierarchical data under PostgreSQL?
> Does it have SQL command similar to Oracle's CONNECT BY?
> 

In addition to all the other good suggestions, if you are using Postgres 
version 7.3.x, take a look at contrib/tablefunc for a function called 
connectby().

HTH,

Joe




view thread (8+ messages)  latest in thread

Message-ID: <3E639E16.500@joeconway.com>
Permalink:  ../3E639E16.500@joeconway.com/
Also on:    postgresql.org/message-id/3E639E16.500@joeconway.com

 · 

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: mail@joeconway.com, someone@somewhere.com
  Subject: Re: Querying Hierarchical Data
  In-Reply-To: <3E639E16.500@joeconway.com>

* 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