How to explicitly lock and unlock tables in pgsql?

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: How to explicitly lock and unlock tables in pgsql?
Date: 2022-03-16 20:30:54
Message-ID: CA+i5Jwb87hT36z+o8PR_PhP1Sf_pr0-uBuiJhAuMUjtFg=vCPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Table locks present a barrier for progressing queries.

How to explicitly lock and unlock tables in pgsql, so that we can guarantee
the progress of running scripts?

Regards,

David

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2022-03-16 20:32:02 Apparently table locks are the key issue to see red flags
Previous Message Shaozhong SHI 2022-03-16 20:30:15 How to explicitly lock and unlock tables in pgsql?

Browse pgsql-sql by date

  From Date Subject
Next Message Shaozhong SHI 2022-03-16 20:32:02 Apparently table locks are the key issue to see red flags
Previous Message Shaozhong SHI 2022-03-16 20:30:15 How to explicitly lock and unlock tables in pgsql?