]> granicus.if.org Git - postgresql/commit
ProcedureCreate neglected to record dependencies on default expressions.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Oct 2011 16:13:15 +0000 (12:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Oct 2011 16:13:15 +0000 (12:13 -0400)
commit76074fcaa04fb5d35e8cf7716587440e3d075d50
tree294975e52e1daaeaa4968d9a0e7297acf30ddd4b
parentd56b3afc0376afe491065d9eca6440b3cc7b1346
ProcedureCreate neglected to record dependencies on default expressions.

Thus, an object referenced in a default expression could be dropped while
the function remained present.  This was unaccountably missed in the
original patch to add default parameters for functions.  Reported by
Pavel Stehule.
src/backend/catalog/pg_proc.c