Skip to content

Commit

Permalink
Implement trust authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJackson2020 authored and CommanderKeynes committed Aug 26, 2024
1 parent 966b8e0 commit de87f07
Show file tree
Hide file tree
Showing 9 changed files with 670 additions and 155 deletions.
3 changes: 3 additions & 0 deletions .circleci/pgcat.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ sharding_function = "pg_bigint_hash"
[pools.sharded_db.users.0]
username = "sharding_user"
password = "sharding_user"
auth_type = "md5"
# Maximum number of server connections that can be established for this user
# The maximum number of connection from a single Pgcat process to any database in the cluster
# is the sum of pool_size across all users.
Expand All @@ -106,6 +107,7 @@ statement_timeout = 0
[pools.sharded_db.users.1]
username = "other_user"
password = "other_user"
auth_type = "md5"
pool_size = 21
statement_timeout = 30000

Expand Down Expand Up @@ -145,6 +147,7 @@ sharding_function = "pg_bigint_hash"
[pools.simple_db.users.0]
username = "simple_user"
password = "simple_user"
auth_type = "md5"
pool_size = 5
statement_timeout = 30000

Expand Down
Loading

0 comments on commit de87f07

Please sign in to comment.