assemble_pg_dsn(path,
user=None,
password=None,
host=None,
port=None)
Quote the parameters and assemble the DSN.
source code
Variables
has_psycopg = True
__package__ = 'trac.db'
Imports:
re,
os,
Markup,
Option,
IDatabaseConnector,
ConnectionWrapper,
IterableCursor,
get_pkginfo,
any,
close_fds,
empty,
exception_to_unicode,
to_unicode,
_,
psycopg,
psycopg2,
DataError,
ProgrammingError,
register_type,
UNICODE,
register_adapter,
AsIs,
QuotedString,
Component,
ExtensionPoint,
Interface,
TracError,
implements