-
Notifications
You must be signed in to change notification settings - Fork 1
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
Postgres socket #29
Comments
Is not wise how to use
|
The rules are specified by the libpq connection string format. To specify a unix socket, you need to omit the hostname. Example:
|
It gives me
with DATABASE_URL='postgresql://pg-discuss:password@/pg-discuss'
local_settings.py(located in /opt/pg-discuss) file contents:
|
Since this is a Python file, you'll need to quote the strings to avoid the syntax error.
Apologies I didn't realize that earlier. I was thinking your were using bash syntax to set an environment variable. I'll see if I can clarify this in the docs. |
It gives same output as with
Maybe its something in configparser. |
Can I use it with postgres socket? Didn't found anything beside servername:port in configuration.
The text was updated successfully, but these errors were encountered: