Remove dependency on postgres.h for module/pg