We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ef1dc commit fdaa94bCopy full SHA for fdaa94b
.circleci/pgcat.toml
@@ -89,6 +89,8 @@ primary_reads_enabled = true
89
#
90
sharding_function = "pg_bigint_hash"
91
92
+automatic_sharding_keys = ["data.id"]
93
+
94
# Credentials for users that may connect to this cluster
95
[pools.sharded_db.users.0]
96
username = "sharding_user"
pgcat.toml
@@ -114,7 +114,7 @@ primary_reads_enabled = true
114
115
116
# Automatically parse this from queries and route queries to the right shard!
117
-# automatic_sharding_key = "data.id"
+# automatic_sharding_keys = ["data.id"]
118
119
# Idle timeout can be overwritten in the pool
120
idle_timeout = 40000
0 commit comments