pgsql: Be more wary of unwanted whitespace in pgstat_reset_remove_files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Be more wary of unwanted whitespace in pgstat_reset_remove_files
Дата
Msg-id E1VBYzd-0008Hl-15@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Be more wary of unwanted whitespace in pgstat_reset_remove_files
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 9.3rc1.