Filer Store: postgres backend support pgbouncer (#7077)

support pgbouncer
This commit is contained in:
Chris Lu
2025-08-03 11:56:04 -07:00
committed by GitHub
parent d49b44f2a4
commit 4fb7bbb215
7 changed files with 73 additions and 19 deletions

View File

@@ -120,6 +120,8 @@ sslmode = "disable"
connection_max_idle = 100
connection_max_open = 100
connection_max_lifetime_seconds = 0
# Set to true when using PgBouncer connection pooler
pgbouncer_compatible = false
# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax:
enableUpsert = true
upsertQuery = """
@@ -157,6 +159,8 @@ sslmode = "disable"
connection_max_idle = 100
connection_max_open = 100
connection_max_lifetime_seconds = 0
# Set to true when using PgBouncer connection pooler
pgbouncer_compatible = false
# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax:
enableUpsert = true
upsertQuery = """