Fix pg_get_functiondef() to print a function's LEAKPROOF property.
Seems to have been an oversight in the original leakproofness patch.
Per report and patch from Jeevan Chalke.
In passing, prettify some awkward leakproof-related code in AlterFunction.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f46edf479e2468a08caca2a03ec7e258930a7161
Modified Files
--------------
src/backend/commands/functioncmds.c | 4 ++--
src/backend/utils/adt/ruleutils.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)