Re: postgresql.conf.sample tab width

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgresql.conf.sample tab width
Date: 2026-09-01 02:04:03
Message-ID: 41771CC8-C51B-48E2-A37A-F79AEF88998A@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Aug 31, 2026, at 00:48, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
>
> I noticed that initdb still adds tabs to postgresql.conf. Here is a patch
> to fix that, which simplifies replace_guc_value() a bit.
>
> --
> nathan
> <v1-0001-initdb-Pad-rewritten-GUC-lines-with-spaces-not-ta.patch>

The patch looks good to me. I tried generating a postgresql.conf with the patch and diff-ing it against one generated without the patch. The differences are just tabs vs. spaces between values and trailing comments on some lines.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2026-09-01 02:07:55 Re: remove_useless_joins vs. bug #19560
Previous Message Scott Ray 2026-09-01 01:47:19 Re: pg_xmin_horizon: a system view of everything pinning the xmin horizon