Re: JDBC Transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JDBC Transactions
Дата
Msg-id 7258.1288652025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JDBC Transactions  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
Andy Colson <andy@squeakycode.net> writes:
> now now we have a membership record (100), but no customer record.

I haven't really been following this thread, but: isn't the answer
to that to establish a foreign-key constraint?  If there's an FK
then the database will provide sufficient row locking to prevent
you from deleting a row that someone else is in the midst of creating
a reference to.

            regards, tom lane

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

Предыдущее
От: Jonathan Tripathy
Дата:
Сообщение: Re: Replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: can select contents of view but not view itself, despite indirect membership