Re: Postgres wont drop foriegn keys on tables.

From: Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres wont drop foriegn keys on tables.
Date: 2010-09-23 15:03:52
Message-ID: BLU149-W543A930A622C819562C251D4610@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Sorry,

I am running the following.

[postgres(at)pgprd01 pgcheck]$ psql --version
psql (PostgreSQL) 8.4.2
contains support for command-line editing

[postgres(at)pgprd01 pgcheck]$ uname -a
Linux system.name.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

From: compuguruchrisbarnes(at)hotmail(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] Postgres wont drop foriegn keys on tables.
Date: Thu, 23 Sep 2010 11:01:28 -0400

I am having an odd problem that I have seen before. It usually clears itself after I restart postgres.

I am attempting to drop an foreign key on a table and it sits for hours and doesn't drop or put anything into the log.

Killing the alter puts an error in, but it doesn't time out and it cause the system to lock at some point.

What can I do to troubleshoot this?

Chris

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Otto 2010-09-23 15:14:56 update from 9.0rc1 to 9.0
Previous Message Chris Barnes 2010-09-23 15:01:28 Postgres wont drop foriegn keys on tables.