Skip to content

Classify PostgreSQL response errors for logging #5695

Description

@JasonAtClockwork

Follow-up from #5640.

crates/pg/src/pg_server.rs, response() combines expected client SQL errors with internal database failures. Preserve enough error classification for expected client failures to log at warn or lower while internal failures remain at error.

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