Re: Proposed fix for Bug #15259 (invalid empty array returned by intarray "&" operator) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposed fix for Bug #15259 (invalid empty array returned by intarray "&" operator)
Date
Msg-id 5596.1531160935@sss.pgh.pa.us
Whole thread Raw
In response to Proposed fix for Bug #15259 (invalid empty array returned by intarray"&" operator)  (Alexey Kryuchkov <alexey.kruchkov@gmail.com>)
List pgsql-hackers
Alexey Kryuchkov <alexey.kruchkov@gmail.com> writes:
> The attached patch fixes Bug #15259 [1] in the intarray module, making the
> '&' array intersection operator return proper zero-dimensional empty arrays
> instead of one-dimensional, zero-length "empty" arrays.

LGTM, pushed.  Thanks for the report and patch!

            regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WAL prefetch
Next
From: Alexander Kuzmenkov
Date:
Subject: Re: [HACKERS] PoC: full merge join on comparison clause