Re: Add proper planner support for ORDER BY / DISTINCT aggregates

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Date: 2021-07-14 01:45:22
Message-ID: CAEudQApuT_E5pN5MWHxVGmDP0vmW030LADEsgeouS8+s5YJtAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em ter., 13 de jul. de 2021 às 22:15, David Rowley <dgrowleyml(at)gmail(dot)com>
escreveu:

> On Tue, 13 Jul 2021 at 23:45, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> > The question not answered is if *argno* can '>=' that
> pertrans->numTransInputs,
> > before entering the loop?
> > If *can*, the loop might be useless in that case.
> >
> >>
> >>
> >> Note that we're doing argno++ inside the loop.
> >
> > Another question is, if *argno* can '>' that pertrans->numTransInputs,
> > before the loop, the test will fail?
> > if (argno == pertrans->numTransInputs)
>
> argno is *always* 0 before the loop starts.
>
Good. Thanks.

regards,
Ranier Vilela

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2021-07-14 02:15:49 RE: Partition Check not updated when insert into a partition
Previous Message Michael Paquier 2021-07-14 01:42:46 Re: [PATCH] Pull general SASL framework out of SCRAM