X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3C76252B44 for ; Wed, 13 Jul 2005 11:20:24 -0300 (ADT) 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 39755-10 for ; Wed, 13 Jul 2005 14:20:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B409552A1A for ; Wed, 13 Jul 2005 11:20:20 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6DEKNld027838; Wed, 13 Jul 2005 10:20:23 -0400 (EDT) To: "Francesco Dalla Ca'" Cc: pgsql-admin@postgresql.org Subject: Re: procedural languages and public schema In-reply-to: <42D50617.6010204@cineca.it> References: <42D50617.6010204@cineca.it> Comments: In-reply-to "Francesco Dalla Ca'" message dated "Wed, 13 Jul 2005 14:16:23 +0200" Date: Wed, 13 Jul 2005 10:20:23 -0400 Message-ID: <27837.1121264423@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/82 X-Sequence-Number: 18138 "Francesco Dalla Ca'" writes: > Can i create languages functions on a different schema? You can, but you'd have to modify the createlang program, or do it by hand using CREATE FUNCTION and CREATE LANGUAGE. This is just a restriction of createlang, not any fundamental limitation. IIRC, we just changed things for 8.1 and up so that the functions are created in pg_catalog instead of public. regards, tom lane