Re: Fix buffer refcount leak with FDW bulk inserts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ROHIT SACHDEVA <sachdeva(dot)rohit648(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Fix buffer refcount leak with FDW bulk inserts
Date: 2023-06-25 14:31:10
Message-ID: 509157.1687703470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

ROHIT SACHDEVA <sachdeva(dot)rohit648(at)gmail(dot)com> writes:
> When i am try to increase the batch_size parameter and do the insertion
> part i received this error.
> WARNING: buffer refcount leak: [1733373] (rel=base/19360/251000,
> blockNum=809

That's just a warning, not an error. It's pretty harmless.

> What is the impact of this error should I perform the insertion again.

No.

What you should do is update to the current minor release (14.8),
which contains a fix for a bug matching this symptom.

(If you can still reproduce the warning on 14.8, we'd be interested
to see a self-contained test case.)

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Deo Felix 2023-06-25 16:53:37 Postgresql Database cant start after restore using pgBackRest
Previous Message ROHIT SACHDEVA 2023-06-25 08:51:28 Fix buffer refcount leak with FDW bulk inserts