Re: Proposed fix for Bug #15259 (invalid empty array returned by intarray "&" operator)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexey Kryuchkov <alexey(dot)kruchkov(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposed fix for Bug #15259 (invalid empty array returned by intarray "&" operator)
Date: 2018-07-09 18:28:55
Message-ID: 5596.1531160935@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alexey Kryuchkov <alexey(dot)kruchkov(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kuzmenkov 2018-07-09 18:35:00 Re: [HACKERS] PoC: full merge join on comparison clause
Previous Message Andres Freund 2018-07-09 18:28:48 Re: WAL prefetch