Set of code to deal with PostgreSQL page files