Re: AccessShareLock question - Mailing list pgsql-general

From Jaime Casanova
Subject Re: AccessShareLock question
Date
Msg-id 3073cc9b0912190819x2f7045ael252b2c9d114e6640@mail.gmail.com
Whole thread Raw
In response to Re: AccessShareLock question  (Clayton Graf <clayton.graf@gmail.com>)
Responses Re: AccessShareLock question  (Clayton Graf <clayton.graf@gmail.com>)
List pgsql-general
On Sat, Dec 19, 2009 at 10:58 AM, Clayton Graf <clayton.graf@gmail.com> wrote:
> Ok, but this is really my problem: I cannot perform an ALTER TABLE with the
> system in production mode, because the ALTER TABLE hangs due an
> AccessShareLock.

until the lock is released, are your selects all that long?
besides, why are you ALTERing the table in production... i guess
clients will suffer if the expect less or more columns than the ones
they receive from the ALTERed table

> We use two-tier mode,

don't understand this

> so is it necessary to shutdown all users before
> perform an ALTER TABLE?

no

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

pgsql-general by date:

Previous
From: Clayton Graf
Date:
Subject: Re: AccessShareLock question
Next
From: Postgres User
Date:
Subject: Re: Selecting from table into an array var