| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Set proargmodes for satisfies_hash_partition. |
| Date: | 2017-11-17 16:53:06 |
| Message-ID: | E1eFjt4-00009h-BH@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/be92769e4e63de949fe3ba29e0bf5c0a96f54ae3
Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 2 +-
src/test/regress/expected/type_sanity.out | 11 +++++++++++
src/test/regress/sql/type_sanity.sql | 8 ++++++++
4 files changed, 21 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-11-17 17:04:26 | pgsql: Prevent to_number() from losing data when template doesn't match |
| Previous Message | Tom Lane | 2017-11-17 16:23:54 | Re: pgsql: Remove BufFile's isTemp flag. |