Replies: 2 comments
-
|
SPQRR for |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The feature was merged in #408 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
we can define method just alike https://github.com/pg-sharding/spqr/blob/master/pkg/client/client.go#L31 to reply PostgreSQL proto error by code, not by message.
https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt#L482-L486
we can use
SPQRD for
failed to match any datashardSPQRE for
skip executing this query, wait for nextSPQRC for ComplexQuery
SPQRF for FailedToMatch
SPQRS for SkipColumn
SPQRM for ShardingKeysMissing
SPQRX for CrossShardQueryUnsupported
Beta Was this translation helpful? Give feedback.
All reactions