postgresql/src/backend/tsearch
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
..
dicts Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict_ispell.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict_simple.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict_synonym.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict_thesaurus.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
regis.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
spell.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
to_tsany.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
ts_locale.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
ts_parse.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
ts_selfuncs.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
ts_typanalyze.c Move hash_any prototype from access/hash.h to utils/hashutils.h 2019-03-11 13:17:50 -03:00
ts_utils.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
wparser.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
wparser_def.c Update copyright for 2019 2019-01-02 12:44:25 -05:00