pgsql: Mark pg_stat_reset_shared as strict

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Mark pg_stat_reset_shared as strict
Дата
Msg-id E1QdKgm-0001FO-Cx@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Mark pg_stat_reset_shared as strict

This is the proper fix for bug #6082 about
pg_stat_reset_shared(NULL) causing a crash, and it reverts
commit 79aa44536f3980d324f486504cde643ce23bf5c6 on head.

The workaround of throwing an error from inside the function is
left on backbranches (including 9.1) since this change requires
a new initdb.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/24e2d4b6ba99985d5b710983714f0133e94dc343

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c |   14 +++-----------
src/include/catalog/catversion.h    |    2 +-
src/include/catalog/pg_proc.h       |    2 +-
3 files changed, 5 insertions(+), 13 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix EXPLAIN to handle gating Result nodes within inner-indexscan
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Fix bat file quoting of %ENV.