Skip to content

Reconnect or throw exception if close connection #47

Description

@olegbaturin

Auto reconnect or throw an exception if connection closed for listen() method.

To close connection

  1. select * from pg_stat_activity where datname = 'db'
  2. select pg_terminate_backend(pid) - get pid from 1.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions