-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove incorrect postgres retention_period param #46898
base: master
Are you sure you want to change the base?
Conversation
When trying to use `retention_period` with a `postgresql://` URI, this causes a failure. `server error (FATAL: unrecognized configuration parameter "retention_period" (SQLSTATE 42704))`
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
🤖 Vercel preview here: https://docs-mseanxt31-goteleport.vercel.app/docs/ver/preview |
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
# Firestore: firestore://events_table_name?eventRetentionPeriod=10d | ||
# Postgres: postgresql://user_name@database-address/teleport_audit?retention_period=10d | ||
retention_period: 365d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct syntax for pgevents would be something like postgresql://user_name@database-address/teleport_audit#retention_period=240h
as mentioned in https://goteleport.com/docs/reference/backends/#postgresql , I don't know if we should mention that here or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@programmerq Does postgresql://user_name@database-address/teleport_audit#retention_period=240h
work in your test environment?
When trying to use
retention_period
with apostgresql://
URI, this causes a failure.server error (FATAL: unrecognized configuration parameter "retention_period" (SQLSTATE 42704))