Purpose

To know how to detect locks in postgres db

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(error)
Microsoft SQL Server(error)
CSS2(tick)
CSS1(tick)
Applicable Platform or <Sub Platform Version>

Platform or <Sub Platform Version>

Yes/No



Details

To detect locks in PostgreSQL by using PGADMIN4:

  1. Connect to the server that you need to monitor

  2. Go to the locks tab
  3. On the lock window check any process that has it mode as "ExclusiveLock".

If any process has this mode we can determine that there is a lock on it.

Notes/comments