Skip to content

Implement graceful cancellation to terminate PostgreSQL queries #2646

@Weixing-Zhang

Description

@Weixing-Zhang

Currently, interrupting martin or martin-cp (e.g., via Ctrl+C) stops the client process, but it does not terminate the corresponding active queries on the database side. Ideally, a client-side cancellation should propagate to PostgreSQL to stop and clean up the backend processes.

Reference:
This is similar to the behavior reported here: #6

cc: @nyurik

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