Re: A qsort template - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: A qsort template
Date
Msg-id CA+hUKG+yW+5cwOyTfyJYOWYpNwXjsvbCq=4CG83HsjRRBvz0yQ@mail.gmail.com
Whole thread Raw
In response to Re: A qsort template  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Sun, Apr 3, 2022 at 8:20 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
> @@ -4126,22 +4126,23 @@ copytup_cluster(Tuplesortstate *state, SortTuple *stup, void *tup)

> +       stup->isnull1 = false;

Looks like I might have failed to grok the scheme for encoding null
into SortTuple objects.  It's clearly uninitialised in some paths,
with a special 0 value in datum1.  Will need to look more closely with
more coffee...



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: A qsort template
Next
From: Andres Freund
Date:
Subject: Re: A qsort template