pgsql: Check that all aliases of a built-in function have same leakproo

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check that all aliases of a built-in function have same leakproo
Date: 2015-05-29 17:26:27
Message-ID: E1YyO39-0002oC-Ri@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1c8c656b3c217aaffc503ad703dcc60cdabe7445

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 2 +-
src/test/regress/expected/opr_sanity.out | 2 ++
src/test/regress/sql/opr_sanity.sql | 1 +
4 files changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-29 19:11:58 pgsql: Remove special cases for ETXTBSY from new fsync'ing logic.
Previous Message Tom Lane 2015-05-29 17:05:30 pgsql: Adjust initdb to also not consider fsync'ing failures fatal.