aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-08-03 11:56:04 -0700
committerGitHub <noreply@github.com>2025-08-03 11:56:04 -0700
commit4fb7bbb215605f1be5c3fd2f06d2105921913d0e (patch)
treeb45b8674fdc64824c71176be38eee927cce74f5e /weed/command
parentd49b44f2a4a67e7a630f2d9248a2ce1819d10fc0 (diff)
downloadseaweedfs-4fb7bbb215605f1be5c3fd2f06d2105921913d0e.tar.xz
seaweedfs-4fb7bbb215605f1be5c3fd2f06d2105921913d0e.zip
Filer Store: postgres backend support pgbouncer (#7077)
support pgbouncer
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold/filer.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index e828f65d7..80aa9d947 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -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 = """