Skip to content

Ignore extra_float_digits in PgBouncer by default - #6630

Open
gauravch-code wants to merge 1 commit into
ubicloud:mainfrom
gauravch-code:fix-pgbouncer-startup-parameters
Open

gauravch-code wants to merge 1 commit into
ubicloud:mainfrom
gauravch-code:fix-pgbouncer-startup-parameters

Conversation

@gauravch-code

Copy link
Copy Markdown

Fixes #6568.

Write the documented ignore_startup_parameters default into the generated PgBouncer configuration so clients sending extra_float_digits can connect.

Keep user configuration after the default so explicit overrides, including an empty value, continue to take precedence.

Add regression tests for the default and both override cases.

Testing

  • Confirmed the three new regression tests fail before the fix and pass afterward.
  • PgBouncer specs: 27 examples, 0 failures.
  • PostgreSQL specs excluding disk_full_check and network_metering: 241 examples, 0 failures.
  • Full Rhizome testing encountered environment-dependent failures on Windows. RuboCop could not run because MSYS2 is unavailable.

Opening as a draft pending the contributor's CLA signature.

PgBouncer rejects startup packets containing extra_float_digits, which
prevents clients such as SQLx from connecting. The configuration schema
documents this default, but the generated INI does not include it.

Write the default before user settings so explicit overrides, including
an empty value, continue to take precedence.

ubicloud#6568
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@gauravch-code

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@gauravch-code
gauravch-code marked this pull request as ready for review October 7, 2026 21:58

This branch has not been deployed

No deployments
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.

PgBouncer rejects extra_float_digits at startup: ignore_startup_parameters schema default is never written to the ini (breaks sqlx, likely pgjdbc)

1 participant