On Fri, Apr 21, 2023 at 01:07:03PM +0300, Alexander Pyhalov wrote:
> We've found that in cases like the one attached, when we insert into foreign
> partition with batch_size set, buffer refcount leak is detected.
>
> The above example we see a dozen of similar messages:
>
> repro_small.sql:31: WARNING: buffer refcount leak: [14621]
> (rel=base/16718/16732, blockNum=54, flags=0x93800000
Indeed, nice repro! That's obviously wrong, I'll look into that.
--
Michael