Re: Meaning of transaction pg_locks?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Meaning of transaction pg_locks?
Date: 2008-11-12 02:53:03
Message-ID: 22095.1226458383@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> Partial output of "select * from pg_locks":

> | | 1192675195 | 62860 | ShareLock | f
> | | 1192675195 | 62814 | ExclusiveLock | t
> | | 1192675195 | 62838 | ShareLock | f
> | | 1192675195 | 63525 | ShareLock | f

> where 1192675195 is the 'transaction' field.

> I am not at all clear what the processes are waiting for,

Neither are we, because you left out all the columns that might tell
that ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-12 02:57:06 Re: Reducing some DDL Locks to ShareLock
Previous Message Philip Warner 2008-11-12 02:51:12 Re: Meaning of transaction pg_locks?