Skip to content

Document Postgres query error codes#416

Merged
rkistner merged 1 commit intomainfrom
mintlify/postgres-query-error-codes-1777539605
May 8, 2026
Merged

Document Postgres query error codes#416
rkistner merged 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

@rkistner rkistner merged commit 79cbc0a into main May 8, 2026
4 checks passed
@rkistner rkistner deleted the mintlify/postgres-query-error-codes-1777539605 branch May 8, 2026 10:20
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