pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Resolve partition strategy during early parsing
Date: Thu, 03 Nov 2022 15:41:56 +0000
Message-ID: <E1oqcLs-000GqF-VN@gemulon.postgresql.org> (raw)

Resolve partition strategy during early parsing

This has little practical value, but there's no reason to let the
partition strategy names travel through DDL as strings.

Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/20221021093216.ffupd7epy2mytkux@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5fca91025e05f803140831953c09a36f08efcef5

Modified Files
--------------
src/backend/commands/tablecmds.c      | 35 +++++++++++------------------------
src/backend/parser/gram.y             | 22 +++++++++++++++++++++-
src/backend/partitioning/partbounds.c | 27 +++++----------------------
src/backend/utils/cache/partcache.c   |  6 ++++++
src/include/nodes/parsenodes.h        | 15 ++++++++-------
src/include/partitioning/partbounds.h |  2 +-
src/include/utils/partcache.h         |  3 ++-
7 files changed, 54 insertions(+), 56 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1oqcLs-000GqF-VN@gemulon.postgresql.org>
Permalink:  ../E1oqcLs-000GqF-VN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oqcLs-000GqF-VN@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: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Resolve partition strategy during early parsing
  In-Reply-To: <E1oqcLs-000GqF-VN@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