Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK4j0-0007nx-2e for pgsql-docs@arkaria.postgresql.org; Wed, 10 Mar 2021 19:42:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lK4iy-0006Oh-Uk for pgsql-docs@arkaria.postgresql.org; Wed, 10 Mar 2021 19:42:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK4iy-0006OW-PX for pgsql-docs@lists.postgresql.org; Wed, 10 Mar 2021 19:42:28 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK4iw-00005Q-5J for pgsql-docs@lists.postgresql.org; Wed, 10 Mar 2021 19:42:28 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lK4ir-0004oi-7k; Wed, 10 Mar 2021 14:42:21 -0500 Date: Wed, 10 Mar 2021 14:42:21 -0500 From: Bruce Momjian To: Pantelis Theodosiou Cc: hans@matfyz.cz, pgsql-docs@lists.postgresql.org Subject: Re: missing schema_name Message-ID: <20210310194221.GE16791@momjian.us> References: <161460419524.316.6898287136822574347@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 1, 2021 at 03:29:02PM +0000, Pantelis Theodosiou wrote: > > > On Mon, Mar 1, 2021 at 2:43 PM Pantelis Theodosiou wrote: > > > > On Mon, Mar 1, 2021 at 1:42 PM PG Doc comments form > wrote: > > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/13/sql-createschema.html > Description: > > The second and forth syntax for CREATE SCHEMA is missing schema_name. > > > Right. It looks like the 2nd and 4th lines should be removed. The 1st and > 3rd cover the syntax cases, don't they?  > > > Oh, how silly of me. The command > CREATE SCHEMA AUTHORIZATION role_specification > creates a schema with same name as role_specification.  > > It is explained a few lines later: > > schema_name > > The name of a schema to be created. If this is omitted, the user_name is > used as the schema name. So, I assume our docs don't need improvement here. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee