From: | Daniel Schuchardt <daniel_schuchardt(at)web(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | shared Locks |
Date: | 2005-09-20 09:18:48 |
Message-ID: | dgok5l$2ro8$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi group,
I have the following problem:
We have developed a ERP/PPS Developed with pgsql over the last 4 years.
Now we introduce it on some of our customers {pgsql works great and gets
good ratings :-)} and so we have to change Tablestructure and so on very
often. For technologie reasons every clients starts a Connection and
holds it until the client terminates his program.
So if we want to change a table structure (add a field or sth like this)
many clients own AccessShareLock's because it seams that a simple SELECT
* FROM table will grant a AccessShareLock and don't release it unitl the
connection is terminated. Is that true? Is it is possible to release
this lock without a disconnect? {Problem is that about 30 users has to
disconnect sometimes. :-( }
thnx for comments,
Daniel
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Schuchardt | 2005-09-20 09:27:36 | Re: Blob data type and it's efficiency on PostgreSQL |
Previous Message | Berend Tober | 2005-09-20 07:44:59 | Re: Implementing a change log |