pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add invariants check to get_useful_group_keys_orderings()
Date: Thu, 06 Jun 2024 10:45:49 +0000
Message-ID: <E1sFAcu-000Fmt-Kf@gemulon.postgresql.org> (raw)

Add invariants check to get_useful_group_keys_orderings()

This commit introduces invariants checking of generated orderings
in get_useful_group_keys_orderings() for assert-enabled builds.

Discussion: https://postgr.es/m/a663f0f6-cbf6-49aa-af2e-234dc6768a07%40postgrespro.ru
Reported-by: Tom Lane
Author: Andrei Lepikhov
Reviewed-by: Alexander Korotkov, Pavel Borisov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91143c03d4ca36406a53e05cd421b19e47d131d1

Modified Files
--------------
src/backend/optimizer/path/pathkeys.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)



Message-ID: <E1sFAcu-000Fmt-Kf@gemulon.postgresql.org>
Permalink:  ../E1sFAcu-000Fmt-Kf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sFAcu-000Fmt-Kf@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: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add invariants check to get_useful_group_keys_orderings()
  In-Reply-To: <E1sFAcu-000Fmt-Kf@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