PgAdmin probably encloses all querys in transactions. Do you? If not, try execute "BEGIN" and "COMMIT" just before and after your query..
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных