Set proargmodes for satisfies_hash_partition.
authorRobert Haas <rhaas@postgresql.org>
Fri, 17 Nov 2017 16:53:00 +0000 (11:53 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 17 Nov 2017 16:53:00 +0000 (11:53 -0500)
commitbe92769e4e63de949fe3ba29e0bf5c0a96f54ae3
tree959c1c12a7b0ab8db34430efc27c202ba1cb15bb
parent11e264517dff7a911d9e6494de86049cab42cde3
Set proargmodes for satisfies_hash_partition.

It appears that proargmodes should always be set for variadic
functions, but satifies_hash_partition had it as NULL.  In addition to
fixing the problem, add a regression test to guard against future
mistakes of this type.
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/test/regress/expected/type_sanity.out
src/test/regress/sql/type_sanity.sql