postgresql/src/backend/tsearch
Peter Eisentraut c69bdf837f Take pg_attribute out of VacAttrStats
The VacAttrStats structure contained the whole Form_pg_attribute for a
column, but it actually only needs attstattarget from there.  So
remove the Form_pg_attribute field and make a separate field for
attstattarget.  This simplifies some code for extended statistics that
doesn't deal with a column but an expression, which had to fake up
pg_attribute rows to satisfy internal APIs.  Also, we can remove some
comments that essentially said "don't look at pg_attribute directly".

Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/d6069765-5971-04d3-c10d-e4f7b2e9c459%40eisentraut.org
2023-07-03 07:18:57 +02:00
..
dicts
dict_ispell.c
dict_simple.c
dict_synonym.c
dict_thesaurus.c
dict.c
Makefile
meson.build
regis.c
spell.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
to_tsany.c
ts_locale.c
ts_parse.c Remove stray mid-sentence tabs in comments 2023-05-19 16:13:16 +02:00
ts_selfuncs.c
ts_typanalyze.c Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
ts_utils.c
wparser_def.c Check for interrupts and stack overflow in TParserGet(). 2023-06-24 17:18:08 -04:00
wparser.c