Be more wary of unwanted whitespace in pgstat_reset_remove_files().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 20fe87075349a205d5b6a2f4b97c2bad4e8a961c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-08-19T23:36:04Z
Releases: 9.4.0
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.

Files

PathChange+/−
src/backend/postmaster/pgstat.c modified +14 −16