Database connector for PostgreSQL.
Database URLs should be of the form:
{{{
postgres://user[:password]@host[:port]/database[?schema=my_schema]
}}}
|
|
__init__(self,
compmgr,
init=<function __init__ at 0x7f8a61c60140>,
cls=<class 'trac.db.postgres_backend.PostgreSQLConnector'>)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
get_connection(self,
path,
log=None,
user=None,
password=None,
host=None,
port=None,
params={}) |
source code
|
|
|
|
init_db(self,
path,
log=None,
user=None,
password=None,
host=None,
port=None,
params={}) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|