-
Notifications
You must be signed in to change notification settings - Fork 184
Support unix domain socket connections #181
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
Comments
How about May be useful: So, |
Although MySQL uses the |
Did you ever decide on a URL syntax for this feature? |
The format is: |
It would make sense to support unix domain sockets as connection addresses in addition to host/port-based addressing.
Using
PostgresqlConnectionConfiguration
, we could introduce asocket(…)
configuration method to configure the socket endpoint.For
PostgresqlConnectionFactoryProvider
, we could have aOption.valueOf("socket")
that configures the socket to use.Probably we don't have a good way how to configure the socket using URL-based connection strings as we assume
<host>[/<database>]
as pattern. The path does not provide any information about whether the last segment is a database name or whether it belongs to the socket. At configuration time, the socket might not even be available so a exists check cannot be used to disambiguate the string.Related issue: spring-projects/spring-data-r2dbc#192
The text was updated successfully, but these errors were encountered: