Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG91W-001B3q-14 for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Nov 2024 03:47:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tG91U-00BcwT-OO for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Nov 2024 03:47:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG91U-00BcwK-EQ for pgsql-hackers@lists.postgresql.org; Wed, 27 Nov 2024 03:47:28 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG91R-0045Vp-SU for pgsql-hackers@lists.postgresql.org; Wed, 27 Nov 2024 03:47:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4AR3lOwb1773979; Tue, 26 Nov 2024 22:47:24 -0500 From: Tom Lane To: jian he cc: Kirill Reshke , PostgreSQL Hackers Subject: Re: CREATE SCHEMA ... CREATE DOMAIN support In-reply-to: References: Comments: In-reply-to jian he message dated "Wed, 27 Nov 2024 11:42:12 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1773977.1732679244.1@sss.pgh.pa.us> Date: Tue, 26 Nov 2024 22:47:24 -0500 Message-ID: <1773978.1732679244@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk jian he writes: > one issue i still have is: > CREATE SCHEMA regress_schema_2 AUTHORIZATION CURRENT_ROLE > create domain ss1 as ss > create domain ss as text; > ERROR: type "ss" does not exist > the error message seems not that OK, > if we can point out the error position, that would be great. That doesn't happen in the base case either: regression=# create domain ss1 as ss; ERROR: type "ss" does not exist I doubt that fixing it should be part of this patch. regards, tom lane