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: Generalize the common code of adding sort before processing of g
Date: Sun, 21 Jan 2024 20:21:52 +0000
Message-ID: <E1rReKG-002U8f-WE@gemulon.postgresql.org> (raw)

Generalize the common code of adding sort before processing of grouping

Extract the repetitive code pattern into a new function make_ordered_path().

Discussion: https://postgr.es/m/CAPpHfdtzaVa7S4onKy3YvttF2rrH5hQNHx9HtcSTLbpjx%2BMJ%2Bw%40mail.gmail.com
Author: Andrei Lepikhov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7ab80ac1caf9f48064190802e1068ef89e2883c4

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 228 ++++++++++++-----------------------
1 file changed, 80 insertions(+), 148 deletions(-)



Message-ID: <E1rReKG-002U8f-WE@gemulon.postgresql.org>
Permalink:  ../E1rReKG-002U8f-WE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rReKG-002U8f-WE@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: Generalize the common code of adding sort before processing of g
  In-Reply-To: <E1rReKG-002U8f-WE@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