]> 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)
commitd4a9f5519d300aeae813a872b3c9874a7e02564b
tree551eb42aa7a5bb134c51a1933f1b0cd1e50ccfb1
parent269cb4fbcad116d3ec497326f166b6690a6ffbd5
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