pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make stxstattarget nullable
Date: Sun, 17 Mar 2024 11:53:21 +0000
Message-ID: <E1rlp4q-004H0q-MP@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/012460ee93c304fbc7220e5b55d9d0577fc766ab

Modified Files
--------------
doc/src/sgml/catalogs.sgml              | 28 ++++++++++----------
doc/src/sgml/ref/alter_statistics.sgml  | 11 ++++----
src/backend/commands/statscmds.c        | 46 +++++++++++++++++++++-----------
src/backend/commands/tablecmds.c        | 47 +++++++++++++++++----------------
src/backend/parser/gram.y               |  4 +--
src/backend/statistics/extended_stats.c |  4 ++-
src/bin/pg_dump/pg_dump.c               | 10 ++++---
src/bin/psql/describe.c                 |  3 ++-
src/include/catalog/catversion.h        |  2 +-
src/include/catalog/pg_statistic_ext.h  |  6 ++---
src/include/nodes/parsenodes.h          |  2 +-
11 files changed, 93 insertions(+), 70 deletions(-)



view thread (2+ messages)

Message-ID: <E1rlp4q-004H0q-MP@gemulon.postgresql.org>
Permalink:  ../E1rlp4q-004H0q-MP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rlp4q-004H0q-MP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make stxstattarget nullable
  In-Reply-To: <E1rlp4q-004H0q-MP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox