fixed pg 9.x filesystem support