Re: [SQL] Updating selected record

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: [SQL] Updating selected record
Дата
Msg-id 57136318-7AA2-11D9-8527-000A95B03262@pgedit.com
обсуждение исходный текст
Список pgsql-general
Hi Levi,

On Feb 9, 2005, at 4:01 AM, Levente Lajko wrote:

> Yes, I have found this statement. However, it doesn't prevent others
> to see that specific row in its state before the update. The point is
> to lock the row for reading as well.
> Unfortunately, the postgres doc clearly states that row-level locks
> allow others to query the row.
> The only solution is something like process handling which is not a
> headache at all, only I am surprised a bit not having this option in
> pg.
>
> Any comment would be welcome.


Ok, sorry I did not completely understand your question. Perhaps you
could write a function or rule that automatically filters out the rows
that are being updated.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: Postgresql and Macintosh
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: pgpool 2.5b2 released