pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs.
pgsql: initdb: Pad rewritten GUC lines with spaces instead of tabs.
От:
Nathan Bossart <nathan@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 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(-)