postgresql/contrib/citext
Alvaro Herrera af38498d4c Move hash_any prototype from access/hash.h to utils/hashutils.h
... as well as its implementation from backend/access/hash/hashfunc.c to
backend/utils/hash/hashfn.c.

access/hash is the place for the hash index AM, not really appropriate
for generic facilities, which is what hash_any is; having things the old
way meant that anything using hash_any had to include the AM's include
file, pointlessly polluting its namespace with unrelated, unnecessary
cruft.

Also move the HTEqual strategy number to access/stratnum.h from
access/hash.h.

To avoid breaking third-party extension code, add an #include
"utils/hashutils.h" to access/hash.h.  (An easily removed line by
committers who enjoy their asbestos suits to protect them from angry
extension authors.)

Discussion: https://postgr.es/m/201901251935.ser5e4h6djt2@alvherre.pgsql
2019-03-11 13:17:50 -03:00
..
expected Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00
sql Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00
citext--1.0--1.1.sql Fix incorrect declaration of citext's regexp_matches() functions. 2015-05-05 15:51:22 -04:00
citext--1.1--1.2.sql Schema-qualify some references to regprocedure. 2016-06-10 10:41:58 -04:00
citext--1.2--1.3.sql Repair damage done by citext--1.1--1.2.sql. 2016-07-26 15:32:57 -04:00
citext--1.3--1.4.sql Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
citext--1.4--1.5.sql Add citext_pattern_ops for citext contrib module 2017-09-19 08:31:45 -04:00
citext--1.4.sql Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
citext--1.5--1.6.sql Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00
citext--unpackaged--1.0.sql Fix citext upgrade script for disallowance of oidvector element assignment. 2014-08-28 18:21:05 -04:00
citext.c Move hash_any prototype from access/hash.h to utils/hashutils.h 2019-03-11 13:17:50 -03:00
citext.control Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00