Preventing selection of data during transaction

Поиск
Список
Период
Сортировка
От Henrik
Тема Preventing selection of data during transaction
Дата
Msg-id 34E88A13-1011-4D11-ABF2-FF08CAC42DCC@mac.se
обсуждение исходный текст
Список pgsql-general
Hello List,

I wonder if it is possible to make data selected in one query NOT
accessible for a SELECT in another query?

The thing is that I have a cleaning script that selects some rows
from a table and processes them.
During that processing I don't want these rows to end up in another
result set. But I also don't want the other result set to wait until
my cleaning transaction is done, I just want it to ignore it.

Is this possible in the database level or do I need to take care of
it on the  application level?

Regards,
Henke


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

Предыдущее
От: Owen Hartnett
Дата:
Сообщение: Request for feature: pg_dump schema masquerade flag
Следующее
От: "John Smith"
Дата:
Сообщение: Re: access privileges: grant select on (all current and future tables)?