Thanks for replay Tom,
Can you tell me in which versions it'll be fixed? For me it's critical
situation because we can have some potentially dangerous places in
application.
On Fri, Aug 9, 2019 at 6:45 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> =?UTF-8?Q?Piotr_W=C5=82odarczyk?= <piotrwlodarczyk89(at)gmail(dot)com> writes:
> > I think we found BUG in version from 11.4 to 11.5 (maybe and previous).
>
> Yeah, looks like the ScalarArrayOpExpr path in
> match_clause_to_partition_key forgot to consider the possibility
> of a constant-null array. Will fix, thanks for the report!
>
> regards, tom lane
>
--
Pozdrawiam
Piotr Włodarczyk