by kraada » Mon Jan 05, 2009 11:10 am
This error can occur for one of three reasons. The first is faulty hardware, and you should try setting PostgreSQL to use zero damaged pages by clicking Start --> Programs --> PostgreSQL --> Configuration Files --> Edit postgresql.conf. In the configuration file that appears, go to the bottom of the file and add the text "zero_damaged_pages = on" on a new line and then save and close the file. Click Start --> Programs --> PostgreSQL --> Reload Configuration and PostgreSQL will ignore the damaged data. If you continue to have problems with that hard drive, you should consider replacing it.
The second reason for this error may be a problem with the PostgreSQL autovacuuming daemon. Click Start --> Programs --> PostgreSQL --> Configuration Files --> Edit postgresql.conf and find the line that says "#autovacuum = on" and change it to "autovacuum = off" and save the file. Stop and restart PostgreSQL by clicking Start --> Programs --> PostgreSQL --> Stop Service, followed by Start --> Programs --> PostgreSQL --> Start Service and PostgreSQL should now be running properly.
The last reason for this error is a known issue with PostgreSQL and Windows. Unfortunately there is no known resolution for this cause at this time; however, the developers of PostgreSQL are still actively working for a solution. It is possible that it is related to F-Secure, so I would try uninstalling it and see if this error disappears. I haven't heard about others using F-Secure having this problem though, so it may not be related.