]> granicus.if.org Git - postgresql/commit
Fix pg_get_functiondef() to print a function's LEAKPROOF property.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 May 2015 15:24:37 +0000 (11:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 May 2015 15:24:37 +0000 (11:24 -0400)
commitf46edf479e2468a08caca2a03ec7e258930a7161
treeac978bae41291034f2e626586f5a11ec81304a17
parentaa9eac45ea868e6ddabc4eb076d18be10ce84c6a
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.
src/backend/commands/functioncmds.c
src/backend/utils/adt/ruleutils.c