Skip to content

Replicate issue on pg_stat_statements extension. #11

@jubinmytheen

Description

@jubinmytheen

Upon attempting to connect to the database with pg_stat_statement enabled, we encountered the below error. However, after dropping the extension, we were able to connect to the database without encountering any issues.

12:38PM DBG COPY pg_stat_statements_info TO STDOUT WITH BINARY;
12:38PM ERR copy error error="ERROR: cannot copy from view \"pg_stat_statements_info\" (SQLSTATE 42809)"
12:38PM DBG ROLLBACK
12:38PM DBG ROLLBACK
12:38PM DBG COMMIT
12:38PM FTL failed in replicate error="streaming failed: copy: recover: runtime error: slice bounds out of range [:11] with capacity 0"
exit status 1

Is there any way to run this with pg_stat_statement enabled?

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