]> 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)
commitf3c67aad433484cab9c997a99965992c0ffbdbe5
tree170c0a13b71857d81009ce2d4c68a1fbfb1d5ca5
parent44674d071f69ed0f9e076bffa9b5386dbede332e
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