Re: trivial patch: show SIREAD pids in pg_locks

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: trivial patch: show SIREAD pids in pg_locks
Date: 2011-04-01 19:23:00
Message-ID: 4D95DFC4020000250003C146@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dan Ports <drkp(at)csail(dot)mit(dot)edu> wrote:

> There's no urgent need to have this, although it's obviously more
> correct than the current behavior. It might be useful for
> debugging.

Agreed all around. For the benefit of the more casual follower of
the thread, attached is a simple example of the output. For the
SIReadLock rows, the pid column shows as empty without the patch.

-Kevin

Attachment Content-Type Size
patch-ssi-pid-in-pg_locks.txt text/plain 1.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2011-04-01 19:42:06 Re: Lock problem with autovacuum truncating heap
Previous Message Dan Ports 2011-04-01 18:42:55 Re: trivial patch: show SIREAD pids in pg_locks