Postgres locks table schema?

From: "Stas Oskin" <stas(at)neo(dot)co(dot)il>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Postgres locks table schema?
Date: 2005-09-21 17:51:57
Message-ID: 200509211648.CLM25744@romy.inter.net.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.

When running SQL scripts, which change the tables' schema, we sometimes
experience a lock of these tables' schema. The lock occurs on the first
command of the script, on the first modified table. When this occurs, no
further schema modification for this table is possible, until the server is
restarted, which is very problematic for a production environment.

Perhaps someone is familiar with this behavior, and how it can be resolved,
without the restart of the server?

The server used is PostgreSQL 8.0.3, and the OS is Fedora Core 3.

Thanks.

Stas Oskin.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2005-09-21 18:10:47 Re: How to create case insensitive unique constraint
Previous Message John D. Burger 2005-09-21 17:38:27 Re: How to create case insensitive unique constraint