Re: Question on locking

From: "M(dot) Bastin" <marcbastin(at)mindspring(dot)com>
To: Terry Lee Tucker <terry(at)esc1(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Question on locking
Date: 2004-11-05 12:48:13
Message-ID: a06110406bdb12611faaa@[192.168.0.116]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

>I can easily see the need to acquire the lock only when
>the user presses "Save".

If you do that then you're again in a situation where you can undo
the changes of other users or need to go through tedious manual
conflict checking and need to provide a usable interface for this
(that keeps on working even when you change your database structure
afterwards etc.)

So you definitely have to acquire the lock when you press [edit] or,
instead of locking, track edited rows by adding them into your
special table at that moment.

Marc

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message M. Bastin 2004-11-05 13:13:12 Re: Question on locking
Previous Message Terry Lee Tucker 2004-11-05 12:31:48 Re: Question on locking