Is it possible to lock a table for a specified time in PostgreSQL database by running psql commands via shell script or sql file?
If we run the LOCK TABLE command, when the script exits the lock will also be gone, so that is not sufficient.
Is it possible to lock a table for a specified time in PostgreSQL database by running psql commands via shell script or sql file? If we run the LOCK TABLE command, when the script exits the lock will also be gone, so that is not sufficient. |
|||||
|
Use
|
|||||
|