]> granicus.if.org Git - postgresql/commit
Be more wary of unwanted whitespace in pgstat_reset_remove_files().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Aug 2013 23:36:04 +0000 (19:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Aug 2013 23:36:04 +0000 (19:36 -0400)
commit20fe87075349a205d5b6a2f4b97c2bad4e8a961c
tree88e2cad9fc342fbe9f093bf6bca269da93fd57d1
parentf9b50b7c18c8ce7de1fee59409fe23c58d438190
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.
src/backend/postmaster/pgstat.c