initdb username doc bug - Mailing list pgsql-docs

From Bruce Momjian
Subject initdb username doc bug
Date
Msg-id ZZoTBSdKeBG_HZ7A@momjian.us
Whole thread Raw
Responses Re: initdb username doc bug
List pgsql-docs
This commit:

    commit 910cab820d
    Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
    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 <david.g.johnston@gmail.com>
        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  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.

Attachment

pgsql-docs by date:

Previous
From: Ishaan Adarsh
Date:
Subject: Integration of Comprehensive PostgreSQL Extension Development Tutorial
Next
From: "David G. Johnston"
Date:
Subject: Re: initdb username doc bug