Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn when pg.Pool() isn’t called as a constructor
in preparation for #1541. `eval` is a bit awkward, but it’s more accurate than an `instanceof` check and will work on platforms new enough to support pg 8 (i.e. only not Node 4).
- Loading branch information