Package trac :: Package db :: Module postgres_backend

Module postgres_backend

source code

Classes
  PostgreSQLConnector
Database connector for PostgreSQL.
  PostgreSQLConnection
Connection wrapper for PostgreSQL.
Functions
 
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