Odd LOG output from "postgres -C"

Поиск
Список
Период
Сортировка
Искать

Odd LOG output from "postgres -C"

От:
Bruce Momjian <bruce@momjian.us>
Дата:
I just tested "postgres -C" on Postgres head, and got odd LOG output
lines:

	$ postgres -C shared_memory_size
	143
-->	2022-05-02 13:08:06.445 EDT [1582048] LOG:  database system is shut down

	$ postgres -C "wal_segment_size"
	16777216
-->	2022-05-02 13:13:30.499 EDT [1584650] LOG:  database system is shut down

Are those last lines expected?

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson



Re: Odd LOG output from "postgres -C"

От:
Nathan Bossart <nathandbossart@gmail.com>
Дата:
On Mon, May 02, 2022 at 01:15:00PM -0400, Bruce Momjian wrote:
> I just tested "postgres -C" on Postgres head, and got odd LOG output
> lines:
> 
> 	$ postgres -C shared_memory_size
> 	143
> -->	2022-05-02 13:08:06.445 EDT [1582048] LOG:  database system is shut down
> 
> 	$ postgres -C "wal_segment_size"
> 	16777216
> -->	2022-05-02 13:13:30.499 EDT [1584650] LOG:  database system is shut down
> 
> Are those last lines expected?

An attempt to fix this is being tracked here:

	https://commitfest.postgresql.org/38/3596

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


Re: Odd LOG output from "postgres -C"

От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Mon, May  2, 2022 at 10:21:30AM -0700, Nathan Bossart wrote:
> On Mon, May 02, 2022 at 01:15:00PM -0400, Bruce Momjian wrote:
> > I just tested "postgres -C" on Postgres head, and got odd LOG output
> > lines:
> > 
> > 	$ postgres -C shared_memory_size
> > 	143
> > -->	2022-05-02 13:08:06.445 EDT [1582048] LOG:  database system is shut down
> > 
> > 	$ postgres -C "wal_segment_size"
> > 	16777216
> > -->	2022-05-02 13:13:30.499 EDT [1584650] LOG:  database system is shut down
> > 
> > Are those last lines expected?
> 
> An attempt to fix this is being tracked here:
> 
> 	https://commitfest.postgresql.org/38/3596

Okay, good to know, thanks.  Somehow I missed seeing this.

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson



FAQ