-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Unable to pass PostgreSQL connection params #28083
Labels
Comments
related #27723 |
-> Fix incorrect pgsql conn builder behavior #28085 I guess you meant that |
I need to add this parameter in order to connect to the PostgreSQL database via pgbouncer. My database is named |
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Nov 17, 2023
Fix go-gitea#28083 and fix the tests
silverwind
pushed a commit
that referenced
this issue
Nov 17, 2023
Backport #28085 by @wxiaoguang Fix #28083 and fix the tests Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
Fix go-gitea#28083 and fix the tests
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
Fix go-gitea#28083 and fix the tests
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 23, 2025
…28098) Backport go-gitea#28085 by @wxiaoguang Fix go-gitea#28083 and fix the tests Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit f7567f7)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
With the recent changes in https://github.com/go-gitea/gitea/blame/79394b340d227182f94bae48cb08a091c78f2ea2/modules/setting/database.go#L160C6-L160C35 it is no longer possible to specify custom connection parameters like
binary_parameters=yes
by appending them to theDatabase.Name
.Instead of the actual parameters the parameter separator is passed to
getPostgreSQLConnectionString
.Gitea Version
v1.21.0
Can you reproduce the bug on the Gitea demo site?
No - irrelevant since issue is configuration related
How are you running Gitea?
Helm chart v9.5.1 on Kubernetes cluster v1.28.3
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: