]> granicus.if.org Git - postgresql/commit
Check that all aliases of a built-in function have same leakproof property.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 May 2015 17:26:21 +0000 (13:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 May 2015 17:26:21 +0000 (13:26 -0400)
commit1c8c656b3c217aaffc503ad703dcc60cdabe7445
tree9a0671fcc564282bd3586a2f14f61fd91d48dc5b
parentc07d8c963e39980f192e8daca73b7585ef76cc9b
Check that all aliases of a built-in function have same leakproof property.

opr_sanity.sql has a test checking that relevant properties of built-in
functions match when the same C function is referenced by multiple pg_proc
entries.  The test neglected to check proleakproof, though, and when
I added that condition it exposed that xideqint4 hadn't been updated to
match xideq.  So fix that as well, and in consequence bump catversion.

This isn't very critical, so no need to worry about fixing back branches.
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql