Be more wary of unwanted whitespace in pgstat_reset_remove_files().

sscanf isn't the easiest thing to use for exact pattern checks ...
also, don't use strncmp where strcmp will do.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/20fe87075349a205d5b6a2f4b97c2bad4e8a961c

Modified Files
--------------
src/backend/postmaster/pgstat.c | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouppgsql-committers @
categoriespostgresql
postedAug 19, '13 at 11:36p
activeAug 19, '13 at 11:36p
posts2
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Tom Lane: 2 posts

People

Translate

site design / logo © 2019 Grokbase