Skip to content

Document Postgres query error codes#416

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/postgres-query-error-codes-1777539605
Open

Document Postgres query error codes#416
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/postgres-query-error-codes-1777539605

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 30, 2026

Summary

Documents two new Postgres replication error codes introduced upstream:

  • PSYNC_S1120: Generic error querying the source database.
  • PSYNC_S1121: Socket timeout while querying the source database (Postgres took too long to respond, or a network-level issue).

These codes surface in service logs to make Postgres query failures easier to diagnose, replacing prior generic messages like postgres query late with structured error codes, the failing query, and original stack location.

Source PR

powersync-ja/powersync-service#620 — Improve error messages for Postgres query failures.

Reviewers

cc @benitav @rkistner

Generated-By: mintlify-agent

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant