Re: Locks information

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: Fernando <proyectolsd(at)wanadoo(dot)es>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Locks information
Date: 2003-11-12 17:15:20
Message-ID: 3FB26AA8.9050102@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


you can have a look at
select * from pg_locks;

this works in postgresql ver 7.3

regds
mallah.

Fernando wrote:

>Hello,
>I'm quite new with PostgreSQL, so this question might be quite dumb, but is there any structure storing information about the transactions which are locked in a moment? I mean, is there, for example, an array with the IDs of the transactions which are locked in the same object? If so, what is its name?
>Thanks in advance!
>
>
>____________________________________________________________
>http://webmail.wanadoo.es. Tu correo gratuito, rápido y en español
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mboscia 2003-11-12 17:40:15 Re: change conndeferrable in pg_constraint?
Previous Message Rajesh Kumar Mallah 2003-11-12 17:13:11 procpid in pg_stat_activity but no correspoding backend