Log Message:
-----------
* Fix some problems for pg_statsinfo on the standby server.
- PostgreSQL sometimes output stderr messages to *.log through system(),
so in a few cases, pg_statsinfo's logger will go into infinit-loop for
these unexpected messages...
- On standby server, pg_statsinfo could not perform age().
Therefore check the server status and avoid the error to use age().
Modified Files:
--------------
pg_statsinfo/bin:
collector_sql.h (r1.12 -> r1.13)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/collector_sql.h?r1=1.12&r2=1.13)
logger.c (r1.24 -> r1.25)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/logger.c?r1=1.24&r2=1.25)
pgsql-committers by date
| Next: | From: User Kasahara | Date: 2011-03-04 06:28:55 |
| Subject: pgstatsinfo - pg_statsinfo: * Ooops, a typo was remained... |
| Previous: | From: User Kasahara | Date: 2011-03-04 06:07:19 |
| Subject: pgstatsinfo - pg_statsinfo: Allow to set correct client encoding to |