Re: Remove support for 'userlocks'?

Merlin Moncure <mmoncure@gmail.com>

From: Merlin Moncure <mmoncure@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-03T18:22:35Z
Lists: pgsql-hackers
On Fri, Jun 3, 2011 at 1:01 PM, Bruce Momjian <bruce@momjian.us> wrote:
> According to our documentation, 'userlocks' were removed in PG 8.2:
>
>        http://developer.postgresql.org/pgdocs/postgres/runtime-config-developer.html
>
>        trace_userlocks (boolean)
>
>        If on, emit information about user lock usage. Output is the same as
>        for trace_locks, only for user locks.
>
>        User locks were removed as of PostgreSQL version 8.2. This option
>        currently has no effect.
>
>        This parameter is only available if the LOCK_DEBUG macro was defined
>        when PostgreSQL was compiled.
>
> Should we remove this parameter and the supporting code since pre-8.2 is
> now end-of-life?

hm, shouldn't it be replaced with trace_advisory_locks?

merlin