Re: Postgres and --config-file option

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Nathan Bossart <nathandbossart(at)gmail(dot)com>
Subject: Re: Postgres and --config-file option
Date: 2024-05-14 11:18:33
Message-ID: CAJ7c6TNoS16P8p60KniEV+MgShsEUbYWNhQgTY=PdospWw1EiA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David, Peter,

> > The actual parameter is "config_file", so apparently we are supposed to
> > either convert underscores to hyphens or we have a typo.
>
> We convert '-' to '_' when parsing long options (see ParseLongOption()
> in guc.c). So writing the long options with hyphens should generally be
> preferred in documentation.

Thanks for all your great input. Here is the updated patch.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v3-0001-Clarify-error-message-about-specifying-config-fil.patch application/x-patch 6.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2024-05-14 11:31:13 Re: JIT compilation per plan node
Previous Message Ranier Vilela 2024-05-14 11:03:57 Re: Fix resource leak (src/backend/libpq/be-secure-common.c)