Re: Proposed fix for Bug #15259 (invalid empty array returned by intarray "&" operator)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexey Kryuchkov <alexey.kruchkov@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2018-07-09T18:28:55Z
Lists: 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
Commits
-
Fix yet more problems with incorrectly-constructed zero-length arrays.
- 95cce84c16ca 11.0 landed
- 01783ac36de1 12.0 landed