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 1qwold-00ESHd-4A for pgsql-docs@arkaria.postgresql.org; Sat, 28 Oct 2023 19:14:41 +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 1qwolZ-005NbY-Lc for pgsql-docs@arkaria.postgresql.org; Sat, 28 Oct 2023 19:14:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwolZ-005NbQ-Dw for pgsql-docs@lists.postgresql.org; Sat, 28 Oct 2023 19:14:37 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwolW-003QGV-8q for pgsql-docs@lists.postgresql.org; Sat, 28 Oct 2023 19:14:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=ZSUWiZxmSxxEV9L6JQQfPXQ81sdW6t7JyZBSO64V13Y=; b=CB9K5 2kfsvttt5Y340i187FIbq/4nwaRBctu+H8tM/RmZ8wowsqjMqp1LXW1Kl+G1cnL5mSVFZdhfDc4H2 vd7CgNgvUE5bjHP7/dqMhLVHtPqPTu3AND57cNOeBPzYe/jWZGaHc7bsmLKOMySisYvutmZu72nhr dE1khWu33dJ0MPvBMnFmdnvDBDuiAaEfQ0AKkKX6I/87HxY/RD/LTQvWaBnL3yRk58X457S/iORSm 01p0e9IeMiWD58ZFjF2fNXEqqWu9Q09PoEzlgYER/98GEnPPTX5O/tEbQryIyBefefHN/iZH27jqC YV2uxJhymZDZQrdK+XKCoUxIIGnZA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qwolU-008zZl-1C; Sat, 28 Oct 2023 15:14:32 -0400 Date: Sat, 28 Oct 2023 15:14:32 -0400 From: Bruce Momjian To: Tom Lane Cc: david@kapitaltrading.com, pgsql-docs@lists.postgresql.org Subject: Re: "22.3. Template Databases" documentation is incomplete Message-ID: References: <166007719137.995877.13951579839074751714@wrigleys.postgresql.org> <1981220.1698518526@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1981220.1698518526@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Oct 28, 2023 at 02:42:06PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > Sorry, I attached a _colorized_ diff; here is a normal one. > > The new sentence is fine in isolation, but this doesn't feel like > a great spot to put it. The preceding several lines are all about > copying of objects within the database, and this isn't. In > particular, the antecedent of "it" is unclear and is different > from what "it" means in the immediately preceding sentence. > > It might be best to split the thing out into its own para? > Something like > > action being taken when those databases are created. > > > + > + However, CREATE DATABASE does not copy > + database-level GRANT permissions attached to the > + source database. The new database has default permissions. > + > + > > There is a second standard system database named Sure. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.