pg path check