agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs.
2+ messages / 1 participants
[nested] [flat]

* pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs.
@ 2026-09-02 14:23  Nathan Bossart <nathan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Nathan Bossart @ 2026-09-02 14:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

initdb: Pad rewritten GUC lines with spaces instead of tabs.

Commit f63ae72bbc converted postgresql.conf.sample to spaces so
that it lines up at any tab width, but replace_guc_value() still
pads with tabs when it re-aligns the trailing comment of a
rewritten setting.  Fix that.

Oversight in commit f63ae72bbc.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/apRezMywHRuR5h-6%40nathan
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d870be195b3b7ee224a58ff562c1f1c252a96814

Modified Files
--------------
src/bin/initdb/initdb.c | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs.
@ 2026-09-02 14:23  Nathan Bossart <nathan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Nathan Bossart @ 2026-09-02 14:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

initdb: Pad rewritten GUC lines with spaces instead of tabs.

Commit f63ae72bbc converted postgresql.conf.sample to spaces so
that it lines up at any tab width, but replace_guc_value() still
pads with tabs when it re-aligns the trailing comment of a
rewritten setting.  Fix that.

Oversight in commit f63ae72bbc.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/apRezMywHRuR5h-6%40nathan
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c0584c27f4f70935b3ccf31e58edb8e175fec447

Modified Files
--------------
src/bin/initdb/initdb.c | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-02 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02 14:23 pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs. Nathan Bossart <nathan@postgresql.org>
2026-09-02 14:23 pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs. Nathan Bossart <nathan@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox