Preventing selection of data during transaction - Mailing list pgsql-general

From Henrik
Subject Preventing selection of data during transaction
Date
Msg-id 34E88A13-1011-4D11-ABF2-FF08CAC42DCC@mac.se
Whole thread Raw
List 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 by date:

Previous
From: Owen Hartnett
Date:
Subject: Request for feature: pg_dump schema masquerade flag
Next
From: "John Smith"
Date:
Subject: Re: access privileges: grant select on (all current and future tables)?