Re: Add bump memory context type and use it for tuplesorts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add bump memory context type and use it for tuplesorts
Date
Msg-id 2980402.1712529676@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add bump memory context type and use it for tuplesorts  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Responses Re: Add bump memory context type and use it for tuplesorts
List pgsql-hackers
Tomas Vondra <tomas.vondra@enterprisedb.com> writes:
> Yup, changing it to this:

> #define KeeperBlock(set) ((BumpBlock *) ((char *) (set) +
> MAXALIGN(sizeof(BumpContext))))

> fixes the issue for me.

Mamba is happy with that change, too.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: POC, WIP: OR-clause support for indexes
Next
From: Michael Paquier
Date:
Subject: Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?