| From: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: unlock / drop table |
| Date: | 2002-09-26 17:15:21 |
| Message-ID: | 20020926131521.C4500@mail.libertyrms.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, Sep 26, 2002 at 12:41:15PM -0400, Johnson, Shaunn wrote:
> How can I:
>
> a) find out who is locking the table (other than Postgres)
You can find out the queris that are locking the table by using ps or
pg_monitor or something like that. Once you have the pid, if you use
connection tracking in your logs, you can look in the logs for the
connection.
> b) should I kill the pid of the LOCK so the table
> can continue it course or will that hurt something else
> (particularly the database)?
kill -2 should be safe.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Doug cNaught | 2002-09-26 17:16:36 | Re: [HACKERS] Performance while loading data and indexing |
| Previous Message | Darren Ferguson | 2002-09-26 17:13:05 | Re: get date in binary number format |