Re: SV: MySQL and PostgreSQL speed compare

Поиск
Список
Период
Сортировка
От M.Feldtmann@t-online.de (Marten Feldtmann)
Тема Re: SV: MySQL and PostgreSQL speed compare
Дата
Msg-id 3A4D09B4.7A3BF36A@toppoint.de
обсуждение исходный текст
Ответ на Re: SV: MySQL and PostgreSQL speed compare  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Список pgsql-general

"Dominic J. Eidson" schrieb:

> > ...
> > What if I do a SELECT to check for a row. Then I do a INSERT. But between
> > SELECT and INSERT someone else inserted a row. NO I do not think that "good
> > programming" will solve this.
>
> Good design, together with good implementation, gets you a long way.
>

 Ok, now the question may be asked: How can this pattern be solved
(to use a very modern word ..).

 a) Prevent such a situation :-)

 b) Try to insert a "lock"-mechanism in your code


 Marten

В списке pgsql-general по дате отправления:

Предыдущее
От: Marian Simpetru
Дата:
Сообщение: PowerDesigner support?
Следующее
От: Marc Rassbach
Дата:
Сообщение: MD5 use in PL/Perl