X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2F6A93A5DE7 for ; Fri, 28 Jan 2005 18:24:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79513-10 for ; Fri, 28 Jan 2005 18:24:39 +0000 (GMT) Received: from joeconway.com (wsip-24-249-201-67.sd.sd.cox.net [24.249.201.67]) by svr1.postgresql.org (Postfix) with ESMTP id 287363A5F80 for ; Fri, 28 Jan 2005 18:24:38 +0000 (GMT) Received: from [206.19.64.3] (account jconway HELO [172.16.1.115]) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 2532710; Fri, 28 Jan 2005 11:25:54 -0800 Message-ID: <41FA8365.9080602@joeconway.com> Date: Fri, 28 Jan 2005 10:24:37 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexandre Leclerc Cc: Dawid Kuroczko , PERFORM Subject: Re: Flattening a kind of 'dynamic' table References: <1dc7f0e305012707234159cfc8@mail.gmail.com> <758d5e7f050127082755f9af12@mail.gmail.com> <1dc7f0e30501270943683ced12@mail.gmail.com> <758d5e7f050128000716f28a59@mail.gmail.com> <1dc7f0e305012806254e8540f4@mail.gmail.com> <41FA6993.5000702@joeconway.com> <1dc7f0e3050128101569232b5b@mail.gmail.com> In-Reply-To: <1dc7f0e3050128101569232b5b@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.048 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/589 X-Sequence-Number: 10279 Alexandre Leclerc wrote: > I'm a little bit confused on how to install this contirb. I know my > contrib package is installed, but I don't know how to make it work in > postgresql. (Using 7.4.5-1mdk on Mandrake Linux.) > Find the file tablefunc.sql and redirect it into your database, e.g. psql mydatabase < /path/to/contrib/scripts/tablefunc.sql I have no idea where that would be on Mandrake, but you could probably do: locate tablefunc.sql On Fedora Core 1 I find it here: /usr/share/pgsql/contrib/tablefunc.sql Also find and read README.tablefunc. HTH, Joe