From: | Youki Shiraishi <shiraishi(at)computer(dot)org> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Add comments for a postgres program in bootstrap mode |
Date: | 2019-09-26 06:06:37 |
Message-ID: | CALwMDXfTCbf-V4uTaA2uY7VsouO4h0db_5F1Ff=dnmdwYh9KbQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I have just started to read the PostgreSQL code and found a lack of
comments for a postgres backend program in bootstrap mode.
When I saw the --boot option implemented in src/backend/main/main.c at
first time, I did not understand why the --boot option is not documented
and what it is used for.
The only way to know these things is to type `grep -r '\--boot' .` on a
project root.
It is easy to see that the --boot option is used in initdb for some
historical reasons, but it is painful for a beginner like me.
I believe the attached patch which adds a few comments might help a
beginner.
Many thanks,
--
Youki Shiraishi
NTT Software Innovation Center
Phone: +81-(0)3-5860-5115
Email: shiraishi(at)computer(dot)org
Attachment | Content-Type | Size |
---|---|---|
add_comment_for_bootstrap_mode.patch | application/octet-stream | 1.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2019-09-26 06:41:33 | Re: pgbench - allow to create partitioned tables |
Previous Message | Tom Lane | 2019-09-26 06:03:12 | Re: PostgreSQL12 and older versions of OpenSSL |