1. IE->工具->網際網路選項->瀏覽歷程記錄->[刪除]
2. IE->工具->網際網路選項->瀏覽歷程記錄->[設定]->[檢視檔案]->清除資料夾下的檔案(Ctrl+A 全選後刪除檔案)
[刪除]
[設定]
[清除資料夾下檔案]
SELECT t.schemaname,
t.relname,
l.locktype,
l.page,
l.virtualtransaction,
l.pid,
l.mode,
l.granted
FROM pg_locks l
JOIN pg_stat_all_tables t ON l.relation = t.relid
WHERE t.schemaname <> 'pg_toast'::name AND t.schemaname <> 'pg_catalog'::name
ORDER BY t.schemaname, t.relname;
What I did is first check what are the running processes bySELECT * FROM pg_stat_activity WHERE state = 'active';Find the process you want to kill, then type:SELECT pg_cancel_backend(<pid of the process>)If the process cannot be killed, try:https://wiki.postgresql.org/wiki/Lock_MonitoringSELECT pg_terminate_backend(<pid of the process>)