From: | momjian(at)postgresql(dot)org (Bruce Momjian - CVS) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server/contrib/tablefunc README.tablefun ... |
Date: | 2002-09-02 05:44:05 |
Message-ID: | 20020902054405.1225D475C9C@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/09/02 01:44:05
Modified files:
contrib/tablefunc: README.tablefunc tablefunc-test.sql
tablefunc.c tablefunc.h tablefunc.sql.in
Log message:
Attached is an update to contrib/tablefunc. It introduces a new
function, connectby(), which can serve as a reference implementation for
the changes made in the last few days -- namely the ability of a
function to return an entire tuplestore, and the ability of a function
to make use of the query provided "expected" tuple description.
Description:
connectby(text relname, text keyid_fld, text parent_keyid_fld,
text start_with, int max_depth [, text branch_delim])
- returns keyid, parent_keyid, level, and an optional branch string
- requires anonymous composite type syntax in the FROM clause. See
the instructions in the documentation below.
Joe Conway
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2002-09-02 05:44:43 | pgsql-server/doc/src/sgml catalogs.sgml |
Previous Message | Bruce Momjian - CVS | 2002-09-02 05:42:54 | pgsql-server/ oc/src/sgml/runtime.sgml rc/back ... |