]> 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:06 +0000 (19:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Aug 2013 23:36:06 +0000 (19:36 -0400)
commit59bc4a43ec588d25fe976774bd1194f1b90251fa
tree7f15bcf012365ecf84b414d9e4aba1f30601c840
parentdb5b49cdd4f481828b227f03b373fbc9bde4301a
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