pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve jumble squashing through CoerceViaIO and RelabelType
Date: Tue, 24 Jun 2025 17:42:58 +0000
Message-ID: <E1uU7fd-0039z7-2u@gemulon.postgresql.org> (raw)

Improve jumble squashing through CoerceViaIO and RelabelType

There's no principled reason for query jumbling to only remove the first
layer of RelabelType and CoerceViaIO.  Change it to see through as many
layers as there are.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/debad29d22152d7fe4c4e671090e20238647c460

Modified Files
--------------
contrib/pg_stat_statements/expected/squashing.out | 40 ++++++++++++++---------
contrib/pg_stat_statements/sql/squashing.sql      |  9 ++---
src/backend/nodes/queryjumblefuncs.c              | 27 ++++++++-------
3 files changed, 45 insertions(+), 31 deletions(-)



Message-ID: <E1uU7fd-0039z7-2u@gemulon.postgresql.org>
Permalink:  ../E1uU7fd-0039z7-2u@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uU7fd-0039z7-2u@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@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve jumble squashing through CoerceViaIO and RelabelType
  In-Reply-To: <E1uU7fd-0039z7-2u@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