Execution of some script, with postgresql query is terminated with error:
OperationalError: could not access status of transaction 1238193445 DETAIL: Could not open file "pg_clog/049C": No such file or directory.
postgresql transaction log file is missing in the folder:
It may be result of improper server shutdown or other technical reason.
Recreate the missing file manually:
su - postgres dd if=/dev/zero of=/var/lib/pgsql/data/pg_clog/0726 bs=256k count=1