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 1rMJLh-003vcr-Et for pgsql-docs@arkaria.postgresql.org; Sun, 07 Jan 2024 02:57:18 +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 1rMJLe-00DC3U-89 for pgsql-docs@arkaria.postgresql.org; Sun, 07 Jan 2024 02:57:14 +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 1rMJLd-00DC3M-SO for pgsql-docs@lists.postgresql.org; Sun, 07 Jan 2024 02:57:13 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMJLa-000GGF-OI for pgsql-docs@postgresql.org; Sun, 07 Jan 2024 02:57:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: In-Reply-To:References; bh=cGmSTNBfyOKaNY2teQEJ9v9bsyinV31/r6dK2Ix9gc0=; b=Kx NzhQzMmBQI7kFN+X281lxbiuirFWX+hv4Gf58EiwkbUzviv+9oM73ABOCg+QaL+Pm9Xn8Zo63hvns jzi6727+JDAytc1f+73VlgFyvdABte50qEXwk6X5kr9G4WINcbdr5vcAb5adbkNyghzjnoV0iCTh6 qid50VXk/FR4fSjOUpXhe3xxZt6EmzpkerIAlUtpRHUBkplzVGW+1x2pyU2vR5fA2tPH25dSznEns cv8PhtcWc70KhMb5EFaCw7jMPEAX5OncjCNO73Ct3h3UhtR4xBU9L+d8UvaXFfBduwsQHMnxtwYLU 9wU3Fl3Mi56K8xjb93PdFchkyC9G1O0A==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rMJLZ-008hLM-2K; Sat, 06 Jan 2024 21:57:09 -0500 Date: Sat, 6 Jan 2024 21:57:09 -0500 From: Bruce Momjian To: PostgreSQL-documentation Cc: =?utf-8?Q?=C3=81lvaro?= Herrera Subject: initdb username doc bug Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="O9ktYMb8FKPhLZAV" Content-Disposition: inline List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --O9ktYMb8FKPhLZAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This commit: commit 910cab820d Author: Alvaro Herrera Date: Fri Nov 18 11:59:26 2022 +0100 Add glossary entries related to superusers Extracted from a more ambitious patch. Author: David G. Johnston Discussion: https://postgr.es/m/CAKFQuwZC4K0XYBm0bwBMDOZySBqhOSekDhLuaw4vPi+ozi8gqQ@mail.gmail.com used this text for the --username option: -U username --username=username Selects the user name of the bootstrap superuser. This defaults to the name of the cluster owner. This seems wrong since the cluster owner doesn't exist until the cluster is created. The text exists in PG 16 and master. The attached patch fixes this. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you. --O9ktYMb8FKPhLZAV Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="initdb.diff" diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index d43c91575c..17363c63b7 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -417,10 +417,9 @@ PostgreSQL documentation - Selects the user name of the + Sets the user name of the bootstrap superuser. - This defaults to the name of the - cluster owner. + This defaults to the name of the installation user. --O9ktYMb8FKPhLZAV--