Re: Custom tuplesorts for extensions

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Maxim Orlov <orlovmg(at)gmail(dot)com>, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Custom tuplesorts for extensions
Date: 2022-07-07 07:54:30
Message-ID: CAPpHfdvVARttsc=Yu9iNTnosJq7CbkyQZP6dg+DaCjCAe1X43w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 6, 2022 at 8:45 PM Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
> > > From b06bcb5f3666f0541dfcc27c9c8462af2b5ec9e0 Mon Sep 17 00:00:00 2001
> > > From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
> > > Date: Wed, 22 Jun 2022 21:48:05 +0300
> > > Subject: [PATCH v2 6/6] Split tuplesortops.c
> >
> > I strongly suspect this will cause a slowdown. There was potential for
> > cross-function optimization that's now removed.
>
> I wonder how can cross-function optimizations bypass function
> pointers. Is it possible?

Oh, this is not just functions called by pointer. This is also
puttuple_common() etc. OK, this needs to be checked.

------
Regards,
Alexander Korotkov

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2022-07-07 08:22:32 Re: postgres_fdw: commit remote (sub)transactions in parallel during pre-commit
Previous Message talk to ben 2022-07-07 07:45:46 Re: archive modules