Extension for enabling the Snapshot Too Old error in PostgreSQL.
./configure
make
sudo make install
CREATE EXTENSION pg_snapshot_too_old;
Update the /etc/postgresql/9.4/main/postgresql.conf file and add the following:
pg_snapshot_too_old_enabled = true
pg_snapshot_too_old_transation_limit = 1000
SET pg_snapshot_too_old_enabled = true;
SET pg_snapshot_too_old_transation_limit = 1000;
This extension will enable the Snapshot Too Old error. This error is fired when a transaction reaches a certain age, aborting the transaction and rolling back any changes.
What does this log when a transaction is aborted?
Reference to Oracle Snapshot Too Old error.