Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coAF6-0000vr-5b for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Mar 2017 14:49:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1coAF5-000172-Om for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Mar 2017 14:49:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1coAF5-00016l-CQ for pgsql-bugs@postgresql.org; Wed, 15 Mar 2017 14:49:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1coAF2-0004ap-2V for pgsql-bugs@postgresql.org; Wed, 15 Mar 2017 14:49:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2FEnKuA002540; Wed, 15 Mar 2017 10:49:20 -0400 From: Tom Lane To: digoal@126.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14590: something wrong when create extension in schema pg_catalog In-reply-to: <20170315121340.1424.60144@wrigleys.postgresql.org> References: <20170315121340.1424.60144@wrigleys.postgresql.org> Comments: In-reply-to digoal@126.com message dated "Wed, 15 Mar 2017 12:13:40 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2538.1489589360.1@sss.pgh.pa.us> Date: Wed, 15 Mar 2017 10:49:20 -0400 Message-ID: <2539.1489589360@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org digoal@126.com writes: > postgres=# create extension btree_gist with schema pg_catalog; I would say that that's neither a good idea nor a supported operation. If it happens to work in some cases, okay, but you're definitely taking risks of getting tripped up by the restrictions on pg_catalog... > ERROR: 42501: permission denied to create "pg_catalog.new_type" > DETAIL: System catalog modifications are currently disallowed. ... like that one. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs