Re: Postgres locks table schema?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stas Oskin" <stas(at)neo(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres locks table schema?
Date: 2005-09-21 19:35:12
Message-ID: 20170.1127331312@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Stas Oskin" <stas(at)neo(dot)co(dot)il> writes:
> 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.

Try committing the transaction that performed the schema modification
;-)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Wasson 2005-09-21 19:35:22 Re: Fetching column names for a table
Previous Message Tom Lane 2005-09-21 19:30:57 Re: Problem with libpq3 & postgresql8