Skip to content

Pool connection with postgres #825

Description

@viico

Hello,

I tried node-orm2 for the first time today. I think there is an issue on pool connection with pg driver from v7.0.

With newer version I have "TypeError: this.db.connect is not a function" error when trying to connect using pool connection. No error with "query: {pool: false}" option.

I downgraded pg driver version to 6.4.1 and it fixed the issue. But there is warning at connect: "DeprecationWarning: PG.connect is deprecated - please see the upgrade guide at https://node-postgres.com/guides/upgrading". The link explain how to resolve the connect issue.

I'll continue to discover your tools.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions