hi, have a look at transaction isolation in docs /tm
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных