Re: Atomar SQL Statement

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Atomar SQL Statement
Дата
Msg-id 6738B213-C52B-4F71-9134-85B45A4922B9@seespotcode.net
обсуждение исходный текст
Ответ на Re: Atomar SQL Statement  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-sql
On Jul 7, 2006, at 14:07 , Stephan Szabo wrote:

> I don't think he is, because I don't think the issue is the SERIAL
> behavior, but instead the NOT EXISTS behavior.

I guess I should have been clearer in the issue I was addressing,  
which is whether or not a separate transaction could slip in and  
interrupt his transaction, which my understanding is that it can't. I  
personally would handle the insert if necessary/select in a different  
way, but I don't see anything necessarily wrong with his statement. I  
assumed that he does have a UNIQUE constraint on the email address  
field. I should definitely know better than to make assumption.  
Sorry, Johann, for not addressing your complete email, but rather  
just a portion of it.

Michael Glaesemann
grzm seespotcode net





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

Предыдущее
От: "Rodrigo De Leon"
Дата:
Сообщение: Re: SELECT substring with regex
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Celko's Puzzle Number 5