Skip to content

Commit 90701a9

Browse files
committed
rename config to automatic_sharding_keys
1 parent d5b8579 commit 90701a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.circleci/pgcat.toml

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ primary_reads_enabled = true
8989
#
9090
sharding_function = "pg_bigint_hash"
9191

92+
automatic_sharding_keys = ["data.id"]
93+
9294
# Credentials for users that may connect to this cluster
9395
[pools.sharded_db.users.0]
9496
username = "sharding_user"

pgcat.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ sharding_function = "pg_bigint_hash"
196196
# auth_query_password = "sharding_user"
197197

198198
# Automatically parse this from queries and route queries to the right shard!
199-
# automatic_sharding_key = "data.id"
199+
# automatic_sharding_keys = ["data.id"]
200200

201201
# Idle timeout can be overwritten in the pool
202202
idle_timeout = 40000

0 commit comments

Comments
 (0)