Skip to content

Commit de87f07

Browse files
AndrewJackson2020CommanderKeynes
authored andcommitted
Implement trust authentication
1 parent 966b8e0 commit de87f07

File tree

9 files changed

+670
-155
lines changed

9 files changed

+670
-155
lines changed

.circleci/pgcat.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ sharding_function = "pg_bigint_hash"
9797
[pools.sharded_db.users.0]
9898
username = "sharding_user"
9999
password = "sharding_user"
100+
auth_type = "md5"
100101
# Maximum number of server connections that can be established for this user
101102
# The maximum number of connection from a single Pgcat process to any database in the cluster
102103
# is the sum of pool_size across all users.
@@ -106,6 +107,7 @@ statement_timeout = 0
106107
[pools.sharded_db.users.1]
107108
username = "other_user"
108109
password = "other_user"
110+
auth_type = "md5"
109111
pool_size = 21
110112
statement_timeout = 30000
111113

@@ -145,6 +147,7 @@ sharding_function = "pg_bigint_hash"
145147
[pools.simple_db.users.0]
146148
username = "simple_user"
147149
password = "simple_user"
150+
auth_type = "md5"
148151
pool_size = 5
149152
statement_timeout = 30000
150153

0 commit comments

Comments
 (0)