From: Daniel Caune <daniel.caune@ubisoft.com>
To: Daniel Caune <daniel.caune@ubisoft.com>
To: Michael Fuhr <mike@fuhr.org>
Cc: lucius.seneca@gmail.com
Cc: postgresql sql list <pgsql-sql@postgresql.org>
Subject: Re: connectby documentation
Date: Mon, 13 Mar 2006 18:38:14 -0500
Message-ID: <1E293D3FF63A3740B10AD5AAD88535D201C6B1F2@UBIMAIL1.ubisoft.org> (raw)
> > > Sorry, this is not my day: "apt-get install
postgresql-contrib-8.1"
> > > works fine... Just a link on the documentation that fully
explains
> how
> > > connectby() works would be great! :-)
> >
> > The contrib package should have installed a file named
> README.tablefunc.
> >
>
> You are right. The documentation is located in
> /usr/share/doc/postgresql-contrib-8.1/ .
>
> Wow, that was the quest for the Holy Grail! :-)
>
Huh... It seems that installing the package postgresql-contrib does not
make the work itself.
I provide hereafter a description about how to install the function
connectby (I didn't find such documentation and I don't know where to
write this documentation):
> apt-get install postgresql-contrib-8.1
> emacs /usr/share/postgresql/8.1/contrib/tablefunc.sql
Replace "$libdir" by "/usr/lib/postgresql/8.1/lib/tablefunc.so" (I
suggest to modifying only a copy of this file).
> su postgres
> psql -f /usr/share/postgresql/8.1/contrib/tablefunc.sql <database>
You can check that the work is done as follows:
> psql <database>
<database> => \df connectby
List of functions
Schema | Name | Result data type | Argument data types
--------+-----------+------------------+--------------------------------
-------------
public | connectby | setof record | text, text, text, text, integer
public | connectby | setof record | text, text, text, text,
integer, text
public | connectby | setof record | text, text, text, text, text,
integer, text
I hope that will help another PostgreSQL newbie.
--
Daniel
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: daniel.caune@ubisoft.com, mike@fuhr.org, lucius.seneca@gmail.com
Subject: Re: connectby documentation
In-Reply-To: <1E293D3FF63A3740B10AD5AAD88535D201C6B1F2@UBIMAIL1.ubisoft.org>
References: <1E293D3FF63A3740B10AD5AAD88535D201C6B1F2@UBIMAIL1.ubisoft.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