Skip to content

Commit 9faf48e

Browse files
committed
rename config to automatic_sharding_keys
1 parent d3c644b commit 9faf48e

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
@@ -138,7 +138,7 @@ sharding_function = "pg_bigint_hash"
138138
# auth_query_password = "sharding_user"
139139

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

143143
# Idle timeout can be overwritten in the pool
144144
idle_timeout = 40000

0 commit comments

Comments
 (0)