Options given both on cmd-line and in the config with different values

From: Honza Horak <hhorak(at)redhat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Patrik Novotny <panovotn(at)redhat(dot)com>
Subject: Options given both on cmd-line and in the config with different values
Date: 2021-04-14 16:21:58
Message-ID: 0b24aa0a-c0c6-e870-af11-e18400ada98b@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

I'm trying to understand what is happening in the following bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1935301

The upgrade process makes it a bit more difficult, but it seems to boil
down to this problem -- even when pg_ctl gets clear guidance where to
find datadir using -D option on the command-line, it forgets this
guidance once finding data_directory option in the postgresql.conf.

Is this the expected behavior actually? Or is the behavior in this case
(i.e. when the same option is specified on the cmd-line and also in the
datadir, with different values) defined at all?

(couldn't find it in the doc and even google does not return me anything
useful)

Thanks for any tips,
Honza

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-04-14 16:42:53 Re: Possible typo/unclear comment in joinpath.c
Previous Message David Christensen 2021-04-14 16:13:47 [PATCH] expand the units that pg_size_pretty supports on output