Hi, In bufmgr.c we have the debugging functions PrintBufferDescs and PrintPinnedBufs, which are typically hidden behind the flag #ifdef NOT_USED. These functions reference the old buf->refcount and buf->flags fields, and so they no longer compile. I attached a patch to use BUF_STATE_GET_REFCOUNT instead and removed the reference to buf->flags.
Regards, Jacob Brazeal
trial.patch
Description: Binary data