Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id B4A8C2E0090 for ; Fri, 16 May 2008 18:24:57 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 15625-02-3 for ; Fri, 16 May 2008 18:24:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by developer.postgresql.org (Postfix) with ESMTP id C8C412E00A5 for ; Fri, 16 May 2008 18:24:41 -0300 (ADT) Received: from jd-laptop (cmdalert.com [69.55.229.115]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m4GLPhrG014614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 May 2008 14:25:44 -0700 Date: Fri, 16 May 2008 14:25:30 -0700 From: "Joshua D. Drake" To: kevin kempter Cc: pgsql-admin@postgresql.org Subject: Re: Global / cluster-wide functions Message-ID: <20080516142530.0ba81186@jd-laptop> In-Reply-To: References: Organization: Joshua D. Drake X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/aIhhb77OPdECyUnKsn3QUUs"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Fri, 16 May 2008 14:25:44 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/159 X-Sequence-Number: 29243 --Sig_/aIhhb77OPdECyUnKsn3QUUs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 16 May 2008 15:12:02 -0600 kevin kempter wrote: > Hi List; >=20 > Can I install a PL/pgSQL function so it's global to all databases =20 > within a cluster or do I need to install per database ? >=20 Install it into template1 then each database created after that will have the function. Joshua D. Drake >=20 > Thanks in advance >=20 --=20 The PostgreSQL Company since 1997: http://www.commandprompt.com/=20 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 --Sig_/aIhhb77OPdECyUnKsn3QUUs Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFILfvKATb/zqfZUUQRAvnwAJ9oWANcxZqfnkw85yYl5vNvaq5VYQCeL2TM 5NHURoRXLYVP7zT2zqutHrw= =43fp -----END PGP SIGNATURE----- --Sig_/aIhhb77OPdECyUnKsn3QUUs--