older version of pg don't work with build apparently, but newest doesn't seem to work with inappbrowser plugin