connection-spec
can be a plist containing (some of) the keywords
:username
,
:password
,
:dbname
,
:hostname
,
:port
,
:connection
,
:unix-socket
.
Each of these keywords may be omitted.
If
:unix-socket
is specified, then none of
:hostname
,
:port
and
:connection
can be specified. If
:hostname
is specified then
:connection
must not be specified.The value supplied for
:hostname
can be a raw hostname, or a string of the form
hostname
:
port
. If
:connection
is specified then it can a string conforming to one of these patterns:
Must start with '
/
'
That is, the value
connection
supplied in a plist
connection-spec
is interpreted just like the part of a string
connection-spec
following the '
@
' character.