Re: Alter table never finishes

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Leonardo M(dot) Ramé <l(dot)rame(at)griensu(dot)com>
Cc: bricklen <bricklen(at)gmail(dot)com>, Giuseppe Broccolo <giuseppe(dot)broccolo(at)2ndquadrant(dot)it>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Alter table never finishes
Date: 2013-07-30 17:35:05
Message-ID: 20130730173505.GR14652@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Leonardo M. Ramé escribió:

> Sorry bricklen, I've killed all idle connections with "kill -9 <PID>",
> then I was able to execute the alter table.

I don't think that was such a great idea. Once you killed the first
one, postmaster terminated all other server processes, run recovery, and
restarted service afresh. By the time you got to the second PID, it
wouldn't have been there anyway.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2013-07-30 17:46:46 Re: Reddwarf for PostgreSQL?
Previous Message bricklen 2013-07-30 17:34:00 Re: Alter table never finishes