Skip to content
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

pass connection options to postgresql client #1047

Merged
merged 5 commits into from
Dec 11, 2023

Conversation

bkayranci
Copy link
Contributor

Signed-off-by: Turkalp Burak Kayrancıoğlu <[email protected]>
pipeline/outputs/postgresql.md Outdated Show resolved Hide resolved
Signed-off-by: Turkalp Burak Kayrancioglu <[email protected]>
@bkayranci
Copy link
Contributor Author

hi @sxd I updated PR and added comment.

Signed-off-by: Turkalp Burak Kayrancioglu <[email protected]>
@patrick-stephens patrick-stephens requested a review from sxd May 25, 2023 13:04
@@ -56,6 +56,7 @@ Make sure that the `fluentbit` user can connect to the `fluentbit` database on t
| `Password` | Password of PostgreSQL username | - |
| `Database` | Database name to connect to | - \(current user\) |
| `Table` | Table name where to store data | - |
| `Connection_Options` | PostgreSQL connection options | - |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any restrictions on content? Should we quote anything with spaces in, etc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it allows string with spaces.

ex: passing multiple options:

Connection_Options -c geqo=off -c statement_timeout=0

pg connection option ref

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update with clarification then, i.e. a link to what is allowed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was updated. Could you check again please?

Signed-off-by: Türkalp Burak Kayrancıoğlu <[email protected]>
@patrick-stephens patrick-stephens merged commit f4bc700 into fluent:master Dec 11, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants