Sachin Kulkarni <kulksac@iit.edu> writes:
> I am working on modifying a part of the B-tree search code on a
> project.
> I am done with my work but am stuck with the following error.
> Any idea what's going wrong?
> ERROR: buffer 1015 is not owned by resource owner Portal
Please do not post this type of question to pgsql-committers, it's
not the appropriate venue.
However, it looks like the problem is you're trying to release a buffer
in a different context than where you acquired it. Hard to say more
with no details.
regards, tom lane