Closed piotrekkr closed 8 years ago
Hi, is there any way to specify connection string using socket?
I tried:
postgresql:///piotrek?host=/var/run/postgresql&user=piotrek
error: Error: FATAL: database "//piotrek" does not exist
and
host=/var/run/postgresql user=piotrek dbname=piotrek
error: Error: could not translate host name "host" to address: Name or service not known
I looked here: http://www.postgresql.org/docs/9.2/static/libpq-connect.html (31.1.1. Connection Strings)
Can be closed since postgresql:// URI format is handled correctly now. Adding handling of this format
would be nice too.
Hi, is there any way to specify connection string using socket?
I tried:
error: Error: FATAL: database "//piotrek" does not exist
and
error: Error: could not translate host name "host" to address: Name or service not known
I looked here: http://www.postgresql.org/docs/9.2/static/libpq-connect.html (31.1.1. Connection Strings)