Re: Postgres locks table schema? - Mailing list pgsql-general

From Tom Lane
Subject Re: Postgres locks table schema?
Date
Msg-id 20170.1127331312@sss.pgh.pa.us
Whole thread Raw
In response to Postgres locks table schema?  ("Stas Oskin" <stas@neo.co.il>)
Responses Re: Postgres locks table schema?
List pgsql-general
"Stas Oskin" <stas@neo.co.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with libpq3 & postgresql8
Next
From: David Fetter
Date:
Subject: Re: Fetching column names for a table