summaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-07-03 07:09:22 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-07-03 07:18:57 +0200
commitc69bdf837f161ae3e699496be10215dbb2315917 (patch)
tree155f49ccfffc575ae716d2e111525f4c6d4adaca /src/backend/regex
parent7a7f60aef8bf86b1a94908e20edd107fa9da4f3d (diff)
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
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions