Обсуждение: HS - odd process listing

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

HS - odd process listing

От
Stefan Kaltenbrunner
Дата:
While playing with HS/SR on -HEAD I noticed that setting

setting max_standby_delay to "-1" leads to the following kind of odd ps 
display:

1000     20254  9.2 11.3 8625164 5600644 ?     Rs   21:22   1:50 
postgres: startup process   waiting for max_standby_delay (4294967295 s)

This seems fairly confusing from a usability POV...

Stefan


Re: HS - odd process listing

От
Tom Lane
Дата:
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> While playing with HS/SR on -HEAD I noticed that setting
> setting max_standby_delay to "-1" leads to the following kind of odd ps 
> display:

> 1000     20254  9.2 11.3 8625164 5600644 ?     Rs   21:22   1:50 
> postgres: startup process   waiting for max_standby_delay (4294967295 s)

I noticed that a lot of the HS error messages use %u to print integer
parameters.  This seemed like a dubious idea to me, but I hadn't made
a concerted effort to get rid of it.  Seems like that is what we ought
to do though.
        regards, tom lane