LispWorks User Guide and Reference Manual > 19 Common SQL > 19.2 Initialization > 19.2.9 Connecting to PostgreSQL

NextPrevUpTopContentsIndex

19.2.9.2 Connecting to PostgreSQL using a plist

connection-spec can be a plist containing (some of) the keywords :username (or :user ), :password , :dbname , :hostname (or :host ), :port , :connection . Each of these keywords may be omitte, but if :connection is specified, then :hostname and :port must not be specified.

The value supplied for :hostname can be a raw hostname or a string of the form hostname : port . The value supplied for :post can be an integer or a string naming a service.

If :connection is specified then it can a string conforming to one of these patterns:

hostname

hostname : port

The values should not be escaped or quoted: LispWorks will esacpe and quote it as needed before passing it to the PostgreSQL library.


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex