We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c644b commit 9faf48eCopy full SHA for 9faf48e
.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
@@ -138,7 +138,7 @@ sharding_function = "pg_bigint_hash"
138
# auth_query_password = "sharding_user"
139
140
# Automatically parse this from queries and route queries to the right shard!
141
-# automatic_sharding_key = "data.id"
+# automatic_sharding_keys = ["data.id"]
142
143
# Idle timeout can be overwritten in the pool
144
idle_timeout = 40000
0 commit comments