use either pg or pg.js