Amit Kapila <amit.kapil...@gmail.com> wrote:

> #define PREDICATELOCK_MANAGER_LWLOCK_OFFSET \
> (NUM_INDIVIDUAL_LWLOCKS + NUM_LOCK_PARTITIONS)

> In this PREDICATELOCK_MANAGER_LWLOCK_OFFSET
> should consider NUM_BUFFER_PARTITIONS which means
> it should be:
>
> #define PREDICATELOCK_MANAGER_LWLOCK_OFFSET \
> (LOCK_MANAGER_LWLOCK_OFFSET + NUM_LOCK_PARTITIONS)

Agreed.  It looks like a pasto in commit ea9df81.

Will commit a fix shortly.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to