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

database/gdb: pgsql driver cannot connect when using unix domain #4018

Closed
d9ee opened this issue Dec 8, 2024 · 1 comment · Fixed by #4028
Closed

database/gdb: pgsql driver cannot connect when using unix domain #4018

d9ee opened this issue Dec 8, 2024 · 1 comment · Fixed by #4028
Assignees
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@d9ee
Copy link

d9ee commented Dec 8, 2024

Go version

1.23.4

GoFrame version

2.8.1

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

database:
default:
link: "pgsql:username:password@unix(/run/postgresql)/dbname"

What did you see happen?

Error: dial unix /run/postgresql/.s.PGSQL.sslmode=disable: connect: no such file or directory

What did you expect to see?

similar to #3862 but pgsql

@d9ee d9ee added the bug It is confirmed a bug, but don't worry, we'll handle it. label Dec 8, 2024
@d9ee d9ee changed the title os/gtime: issue pgsql driver cannot connect when using unix domain database/gdb: issue pgsql driver cannot connect when using unix domain Dec 8, 2024
@d9ee d9ee changed the title database/gdb: issue pgsql driver cannot connect when using unix domain database/gdb: pgsql driver cannot connect when using unix domain Dec 8, 2024
@gqcn gqcn self-assigned this Dec 10, 2024
@gqcn
Copy link
Member

gqcn commented Dec 10, 2024

@d9ee Thanks for your feedback, let me have a check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants