pgsql: Improve jumble squashing through CoerceViaIO and RelabelType

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve jumble squashing through CoerceViaIO and RelabelType
Date: 2025-06-24 17:42:58
Message-ID: E1uU7fd-0039z7-2u@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-06-24 18:14:29 pgsql: Prevent excessive delays before launching new logrep workers.
Previous Message Christoph Berg 2025-06-24 15:30:02 Re: pgsql: Introduce pg_shmem_allocations_numa view