How to explicitly lock and unlock tables in pgsql?

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to explicitly lock and unlock tables in pgsql?
Date: 2022-03-16 20:30:15
Message-ID: CA+i5JwZPLEiOQxFy3q=5HKWYLkfs8VBvHxY03osiW4xy_OoKxw@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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2022-03-16 20:30:54 How to explicitly lock and unlock tables in pgsql?
Previous Message Adrian Klaver 2022-03-16 20:23:58 Re: Apparently table locks are the key issue to see red flags

Browse pgsql-sql by date

  From Date Subject
Next Message Shaozhong SHI 2022-03-16 20:30:54 How to explicitly lock and unlock tables in pgsql?
Previous Message Adrian Klaver 2022-03-16 20:23:58 Re: Apparently table locks are the key issue to see red flags