-
Maravilla
2 weeks ago
Another working solutions
Get the active locks from pg_locks:
SELECT t.relname, l.locktype, page, virtualtransaction, pid, mode, granted FROM pg_locks l, pg_stat_all_tables t WHERE l.relation = t.relid ORDER BY relation asc;
Copy the pid(ex: 14210) from above result and substitute in the below command.
SELECT pg_terminate_backend(14210)
link : https://stackoverflow.com/questions/1063043/how-to-release-possible-postgres-row-locks
Reply
-
Maravilla
2 weeks ago
Another working solutions
Get the active locks from pg_locks:
SELECT t.relname, l.locktype, page, virtualtransaction, pid, mode, granted FROM pg_locks l, pg_stat_all_tables t WHERE l.relation = t.relid ORDER BY relation asc;
Copy the pid(ex: 14210) from above result and substitute in the below command.
SELECT pg_terminate_backend(14210)
link : https://stackoverflow.com/questions/1063043/how-to-release-possible-postgres-row-locks
Reply
-
Maravilla
2 weeks ago
Another working solutions
Get the active locks from pg_locks:
SELECT t.relname, l.locktype, page, virtualtransaction, pid, mode, granted FROM pg_locks l, pg_stat_all_tables t WHERE l.relation = t.relid ORDER BY relation asc;
Copy the pid(ex: 14210) from above result and substitute in the below command.
SELECT pg_terminate_backend(14210)
link : https://stackoverflow.com/questions/1063043/how-to-release-possible-postgres-row-locks
Reply
Similars contributions
-
Ajax, CSS, HTML, Jquery, Jquery-ui,
Posted by Tobirama 2 months ago
Category : Development
How to implement DataTable with MaterializeCss
CSS, HTML, Javascript, Posted by Tobirama 2 months agoCategory : Development
Customer Editor for INPUT
Email, Laravel, Posted by Tobirama 3 months agoCategory : Development
Laravel default notification email template
Laravel, Posted by Tobirama 4 months agoCategory : Development
Laravel , How to Save User's Last Login Time and IP Address
Laravel, MYSQL, Posted by Tobirama 4 months agoCategory : Development
Laravel Multiple Database Connection
Excel, Laravel, Posted by Tobirama 4 months agoCategory : Development
laravel excel read file without import to database
Laravel, Package, Posted by Tobirama 4 months agoCategory : Development
laravel composer install tools and ignore errors
Email, Laravel, Posted by Tobirama 4 months agoCategory : Development
Send invite to Emails not registered in the system
Node.js, Posted by Tobirama 4 months agoCategory : Development
nodejs "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN"
JSON, Talend, Posted by Maravilla 5 months agoCategory : Development
How to POST JSON with REST API in Talend Studio
SQL, Posted by Maravilla 5 months agoCategory : Database
How to reset locks in postgresql tables
Ionic, Posted by Louis Bertson 6 months agoCategory : Development
Update Capacitor native platforms, install Capacitor/Cordova plugins
Angular, Capacitor, Cordova, Posted by Louis Bertson 6 months agoCategory : Development
@Ionic/Angular peer dependency on rxjs conflicts with @ionic-native/core
Excel, Laravel, Posted by Tobirama 9 months agoCategory : Development
No ReaderType or WriterType could be detected. Make sure you either pass a valid extension to the filename or pass an explicit type
SQL, Posted by Maravilla 11 months agoCategory : Database
QLIKVIEW SUM IF FIELD IS NOT BLANK