Read/Write splitting #1512
Unanswered
billmetangmo
asked this question in
Q&A
Replies: 1 comment
-
I think you need different connections, yes |
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.
-
Hello ,
I want to implement read/write splitting .
Do you know how it can be done using psycopg2 ?
I found here https://support.huaweicloud.com/intl/en-us/bestpractice-rds/rds_pg_0010.html that this can be done using pg_is_in_recovery but this means that you need to create a new connection.
Is there an easiest solution ?
Beta Was this translation helpful? Give feedback.
All reactions