[HACKERS] HS - odd process listing

2010-04-30 Thread 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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] HS - odd process listing

2010-04-30 Thread Tom Lane
Stefan Kaltenbrunner ste...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers