PgAdmin probably encloses all querys in transactions. Do you?
If not, try execute "BEGIN" and "COMMIT" just before and after yourquery..