Lock rekord

From: Pawe Dubin <paweld(at)suimed(dot)tpnet(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Lock rekord
Date: 2000-06-17 07:15:47
Message-ID: 00061709400401.00637@paweld
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

I was listening Your discusion. I have practical problem for which I write my
own locking system:

Personal rekords:

Name
zip
adress

Users A,B reads data from record:

John Smith
124312
Xstreet 27

Now A change zip and write all
B change adress and write

so zip is unchanged.

In pgsql I can solve it by SELECT FOR UPDATE but if user A goes for caffe
during his update
user B hangs for several minutes ...

Ther is no solution to check if record is in transaction ?

Am I right ?

Regards

Pawel Dubin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Meskes 2000-06-17 12:17:23 Re: [Fwd: SQL3 recursive unions]
Previous Message Howard 2000-06-17 06:51:30 Select data from multiple databases