Skip to content

Conversation

@JelteF
Copy link
Member

@JelteF JelteF commented May 7, 2024

The -c config=value pattern has been supported in PgBouncer since
PR #878. As described in #952 Postgres also allows to use the
--config=value, which honestly seems more readable, but for some
reason is mentioned almost nowhere in the Postgres documentation.

Since #878 this always throws an error, and putting options in
ignore_startup_parameters wouldn't get rid of this error. So this
should actually be considered a regression for the same reason as #907
was considered a regression (although a much less impactful one given
we've only received two reports of this causing issues).

Fixes #952

The `-c config=value` pattern has been supported in PgBouncer since
PR pgbouncer#878. As described in pgbouncer#952 Postgres also allows to use the
`--config=value`, which honestly seems more readable, but for some
reason is mentioned almost nowhere in the Postgres documentation.

Since pgbouncer#878 this always throws an error, and putting `options` in
`ignore_startup_parameters` wouldn't get rid of this error. So this
should actually be considered a regression for the same reason as pgbouncer#907
was considered a regression (although a much less impactful one given
we've only received two reports of this causing issues).

Fixes pgbouncer#952
@JelteF JelteF changed the title Support --config=value format in options too Support --config=value format in options startup parameter May 7, 2024
Copy link
Contributor

@emelsimsek emelsimsek left a comment

Choose a reason for hiding this comment

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

Testing this locally, and reviewing the change it looks fine to me.

@JelteF JelteF merged commit 59f3533 into pgbouncer:master May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ignore_startup_options=options has no effect

2 participants