Re: table locking ... not required ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"John W. Holmes" <holmes072000@xxxxxxxxxxx> wrote in message
news:40EE829A.9030302@xxxxxxxxxxxxxx
> Michael Gale wrote:
> > For the UPDATES ... what would have it in theory two people hit the
UPDATE
> > button at the exact same time ?  Would one just over write the other ...
> > cause that is fine ?

Hi Michael,

is it really OK that the second update just overwrites the first one?
Because the second update will overwrite the first one *without* knowing
about the first update and therefore without knowing about the data
resulting from the first update.

Regards, Torsten

>
> Whatever UPDATE gets there first will execute and the other one will
> wait until it's finished to update. There won't be any contention.
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals ? www.phparch.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux