pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Benoît Bournon <benoit.bournon@adelis.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Recursive request ...
Date: Thu, 10 Jul 2003 00:44:55 -0700
Message-ID: <3F0D1977.5060300@joeconway.com> (raw)
In-Reply-To: <3F0C3469.2050106@adelis.com>
References: <3F0C3469.2050106@adelis.com>

Benoît Bournon wrote:
> I have to make a function that returns a tree with title and link of a 
> table.
> 
> Recursively, a information depends on a parent information.
> 
> It is to organise a menu with parent dependance.
> 
> How is it possible and faster  ? in C ? pl/pgsql or other ?
> 

On 7.3 and later: see contrib/tablefunc. The function is called connectby().

HTH,

Joe




view thread (9+ messages)  latest in thread

Message-ID: <3F0D1977.5060300@joeconway.com>
Permalink:  ../3F0D1977.5060300@joeconway.com/
Also on:    postgresql.org/message-id/3F0D1977.5060300@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, benoit.bournon@adelis.com
  Subject: Re: Recursive request ...
  In-Reply-To: <3F0D1977.5060300@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