Re: Global / cluster-wide functions - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: Global / cluster-wide functions
Date
Msg-id 20080516142530.0ba81186@jd-laptop
Whole thread Raw
In response to Global / cluster-wide functions  (kevin kempter <kevin@kevinkempterllc.com>)
Responses Re: Global / cluster-wide functions  (Chander Ganesan <chander@otg-nc.com>)
List pgsql-admin
On Fri, 16 May 2008 15:12:02 -0600
kevin kempter <kevin@kevinkempterllc.com> wrote:

> Hi List;
>
> Can I install a PL/pgSQL function so it's global to all databases
> within a cluster or do I need to install per database ?
>

Install it into template1 then each database created after that will
have the function.

Joshua D. Drake

>
> Thanks in advance
>


--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



Attachment

pgsql-admin by date:

Previous
From: kevin kempter
Date:
Subject: Global / cluster-wide functions
Next
From: "Phillip Smith"
Date:
Subject: Re: pg_restore test procedures (a bit OT)