adding pg-lib dependency