Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I'd be willing to add the proposed patch in 8.1 (style note:
>> NUM_USER_DEFINED_LWLOCKS should be set in pg_config_manual.h not
>> lwlock.h).
> Shouldn't it be something we can put in postgresql.conf?
No more than any of the other entries in pg_config_manual.h.
With only one known request for a user-allocated lock, it's hard to
justify the overhead of a GUC variable.
regards, tom lane