Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com> writes:> How can I get rid of these open locks?
Close the transactions that are holding them. Look intopg_stat_activity and pg_prepared_xacts.
regards, tom lane