Обсуждение: pgstatsinfo - pg_statsinfo: Support MSVC.
Log Message: ----------- Support MSVC. Support auto analyze log. Fix a bug that the program cannot stop if postmaster stops during connecting retry. Add running, waiting, and xact_max_start to activity stats. Pass all parameters by stdin rather than shell commad line. Borrow the code from LIKE to parse log message. Split logger.c into logger_in/out. Remove unused codes from pgut. Modified Files: -------------- pg_statsinfo/bin: Makefile (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/Makefile?r1=1.1&r2=1.2) autovacuum.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/autovacuum.c?r1=1.2&r2=1.3) checkpoint.c (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/checkpoint.c?r1=1.3&r2=1.4) collector.c (r1.6 -> r1.7) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/collector.c?r1=1.6&r2=1.7) collector_sql.h (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/collector_sql.h?r1=1.3&r2=1.4) logger.c (r1.8 -> r1.9) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/logger.c?r1=1.8&r2=1.9) pg_statsinfo.c (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pg_statsinfo.c?r1=1.4&r2=1.5) pg_statsinfo.h (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pg_statsinfo.h?r1=1.4&r2=1.5) pg_statsrepo.sql (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pg_statsrepo.sql?r1=1.4&r2=1.5) snapshot.c (r1.6 -> r1.7) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/snapshot.c?r1=1.6&r2=1.7) writer.c (r1.6 -> r1.7) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/writer.c?r1=1.6&r2=1.7) writer_sql.h (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/writer_sql.h?r1=1.2&r2=1.3) pg_statsinfo/bin/pgut: pgut-pthread.c (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pgut/pgut-pthread.c?r1=1.1&r2=1.2) pgut.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pgut/pgut.c?r1=1.2&r2=1.3) pgut.h (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/pgut/pgut.h?r1=1.3&r2=1.4) pg_statsinfo/lib: libstatsinfo.c (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/libstatsinfo.c?r1=1.5&r2=1.6) libstatsinfo.h (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/libstatsinfo.h?r1=1.2&r2=1.3) pg_statsinfo.sql.in (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/pg_statsinfo.sql.in?r1=1.2&r2=1.3) port.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/port.c?r1=1.2&r2=1.3) pg_statsinfo/lib/pgut: pgut-be.c (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/pgut/pgut-be.c?r1=1.1&r2=1.2) pgut-be.h (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/pgut/pgut-be.h?r1=1.2&r2=1.3) pgut-port.c (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/pgut/pgut-port.c?r1=1.1&r2=1.2) pgut-port.h (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/pgut/pgut-port.h?r1=1.1&r2=1.2) Added Files: ----------- pg_statsinfo/bin: logger_in.c (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/logger_in.c?rev=1.1&content-type=text/x-cvsweb-markup) logger_out.c (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/bin/logger_out.c?rev=1.1&content-type=text/x-cvsweb-markup) pg_statsinfo/msvc: bin.vcproj (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/msvc/bin.vcproj?rev=1.1&content-type=text/x-cvsweb-markup) lib.vcproj (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/msvc/lib.vcproj?rev=1.1&content-type=text/x-cvsweb-markup) pg_statsinfo.sln (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/msvc/pg_statsinfo.sln?rev=1.1&content-type=text/x-cvsweb-markup) readme.txt (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/msvc/readme.txt?rev=1.1&content-type=text/x-cvsweb-markup)