Re: Postgres and --config-file option - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Postgres and --config-file option
Date
Msg-id CAJ7c6TNoS16P8p60KniEV+MgShsEUbYWNhQgTY=PdospWw1EiA@mail.gmail.com
Whole thread Raw
In response to Re: Postgres and --config-file option  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: Postgres and --config-file option
List 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

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: JIT compilation per plan node