Make stxstattarget nullable
Peter Eisentraut <peter@eisentraut.org>
Make stxstattarget nullable To match attstattarget change (commit 4f622503d6d). The logic inside CreateStatistics() is clarified a bit compared to that previous patch, and so here we also update ATExecSetStatistics() to match. Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/4da8d211-d54d-44b9-9847-f2a9f1184c76@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +14 −14 |
| doc/src/sgml/ref/alter_statistics.sgml | modified | +6 −5 |
| src/backend/commands/statscmds.c | modified | +31 −15 |
| src/backend/commands/tablecmds.c | modified | +24 −23 |
| src/backend/parser/gram.y | modified | +2 −2 |
| src/backend/statistics/extended_stats.c | modified | +3 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +6 −4 |
| src/bin/psql/describe.c | modified | +2 −1 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_statistic_ext.h | modified | +3 −3 |
| src/include/nodes/parsenodes.h | modified | +1 −1 |
Documentation touched
Discussion
- Make attstattarget nullable 14 messages · 2023-12-05 → 2024-03-17