It works finally.! I did vacuum FULL for some tables and Then it just works .! Maybe as you said this is related to the second part which is commit old prepared transaction .! -- View this message in context: http://www.postgresql-archive.org/database-is-not-accepting-commands-tp5961831p5962744.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general