mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 01:58:44 +08:00
Correct postgres retention_period param syntax (#46898)
When trying to use `retention_period` query param with a `postgresql://` URI, this causes a failure. `server error (FATAL: unrecognized configuration parameter "retention_period" (SQLSTATE 42704))` The correct syntax is to include it in the fragment portion of the URI instead.
This commit is contained in:
@@ -58,7 +58,7 @@ teleport:
|
||||
# consume the retention period via a query parameter in the audit_events_uri. See the examples below
|
||||
# for how to configure the retention period for other backends.
|
||||
# Firestore: firestore://events_table_name?eventRetentionPeriod=10d
|
||||
# Postgres: postgresql://user_name@database-address/teleport_audit?retention_period=10d
|
||||
# Postgres: postgresql://user_name@database-address/teleport_audit#retention_period=240h
|
||||
retention_period: 365d
|
||||
|
||||
# minimum/maximum read capacity in units
|
||||
|
||||
Reference in New Issue
Block a user