Package psycopg2 :: Module _psycopg
[show private | hide private]
[frames | no frames]

Module psycopg2._psycopg

psycopg PostgreSQL driver


Variable Summary
str __version__ = '2.0b7 (dt ext pq3)'
dict adapters = {(<type 'bool'>, <type 'psycopg2._psycopg.ISQ...
str apilevel = '2.0'
type BINARY = <psycopg2._psycopg.type object at 0x009558C0>
dict binary_types = {}
type BINARYARRAY = <psycopg2._psycopg.type object at 0x00955B...
type BOOLEAN = <psycopg2._psycopg.type object at 0x00955760>
type BOOLEANARRAY = <psycopg2._psycopg.type object at 0x00955...
type DATE = <psycopg2._psycopg.type object at 0x009558A0>
type DATEARRAY = <psycopg2._psycopg.type object at 0x00955AA0...
type DATETIME = <psycopg2._psycopg.type object at 0x009557C0>
type DATETIMEARRAY = <psycopg2._psycopg.type object at 0x0095...
type DECIMAL = <psycopg2._psycopg.type object at 0x00955680>
type DECIMALARRAY = <psycopg2._psycopg.type object at 0x00955...
dict encodings = {'UTF8': 'utf_8', 'LATIN-1': 'latin_1', 'SQL...
type FLOAT = <psycopg2._psycopg.type object at 0x00955660>
type FLOATARRAY = <psycopg2._psycopg.type object at 0x009559E...
type INTEGER = <psycopg2._psycopg.type object at 0x00955620>
type INTEGERARRAY = <psycopg2._psycopg.type object at 0x00955...
type INTERVAL = <psycopg2._psycopg.type object at 0x00955860>
type INTERVALARRAY = <psycopg2._psycopg.type object at 0x0095...
type LONGINTEGER = <psycopg2._psycopg.type object at 0x009555...
type LONGINTEGERARRAY = <psycopg2._psycopg.type object at 0x0...
type NUMBER = <psycopg2._psycopg.type object at 0x00955540>
str paramstyle = 'pyformat'
type PYDATE = <psycopg2._psycopg.type object at 0x00955D00>
type PYDATETIME = <psycopg2._psycopg.type object at 0x00955C0...
type PYINTERVAL = <psycopg2._psycopg.type object at 0x00955CE...
type PYTIME = <psycopg2._psycopg.type object at 0x00955C40>
type ROWID = <psycopg2._psycopg.type object at 0x009559A0>
type ROWIDARRAY = <psycopg2._psycopg.type object at 0x00955BE...
type STRING = <psycopg2._psycopg.type object at 0x00955720>
dict string_types = {1028: <psycopg2._psycopg.type object at ...
type STRINGARRAY = <psycopg2._psycopg.type object at 0x00955A...
int threadsafety = 2                                                                     
type TIME = <psycopg2._psycopg.type object at 0x00955840>
type TIMEARRAY = <psycopg2._psycopg.type object at 0x00955B00...
type UNICODE = <psycopg2._psycopg.type object at 0x009556C0>
type UNICODEARRAY = <psycopg2._psycopg.type object at 0x00955...

Variable Details

__version__

Type:
str
Value:
'2.0b7 (dt ext pq3)'                                                   

adapters

Type:
dict
Value:
{(<type 'datetime.timedelta'>, <type 'psycopg2._psycopg.ISQLQuote'>): \
<built-in function IntervalFromPy>,
 (<type 'datetime.date'>, <type 'psycopg2._psycopg.ISQLQuote'>): <buil\
t-in function DateFromPy>,
 (<type 'datetime.time'>, <type 'psycopg2._psycopg.ISQLQuote'>): <buil\
t-in function TimeFromPy>,
 (<type 'datetime.datetime'>, <type 'psycopg2._psycopg.ISQLQuote'>): <\
built-in function TimestampFromPy>,
...                                                                    

apilevel

Type:
str
Value:
'2.0'                                                                  

BINARY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009558C0>                          

binary_types

Type:
dict
Value:
{}                                                                     

BINARYARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955B60>                          

BOOLEAN

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955760>                          

BOOLEANARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955A20>                          

DATE

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009558A0>                          

DATEARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955AA0>                          

DATETIME

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009557C0>                          

DATETIMEARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955AC0>                          

DECIMAL

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955680>                          

DECIMALARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955260>                          

encodings

Type:
dict
Value:
{'LATIN-1': 'latin_1',
 'LATIN1': 'latin_1',
 'SQL_ASCII': 'ascii',
 'UNICODE': 'utf_8',
 'UTF8': 'utf_8'}                                                      

FLOAT

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955660>                          

FLOATARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009559E0>                          

INTEGER

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955620>                          

INTEGERARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955A00>                          

INTERVAL

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955860>                          

INTERVALARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955BA0>                          

LONGINTEGER

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009555C0>                          

LONGINTEGERARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955960>                          

NUMBER

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955540>                          

paramstyle

Type:
str
Value:
'pyformat'                                                             

PYDATE

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955D00>                          

PYDATETIME

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955C00>                          

PYINTERVAL

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955CE0>                          

PYTIME

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955C40>                          

ROWID

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009559A0>                          

ROWIDARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955BE0>                          

STRING

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955720>                          

string_types

Type:
dict
Value:
{16: <psycopg2._psycopg.type object at 0x00955760>,
 17: <psycopg2._psycopg.type object at 0x009558C0>,
 18: <psycopg2._psycopg.type object at 0x00955720>,
 19: <psycopg2._psycopg.type object at 0x00955720>,
 20: <psycopg2._psycopg.type object at 0x009555C0>,
 21: <psycopg2._psycopg.type object at 0x00955620>,
 23: <psycopg2._psycopg.type object at 0x00955620>,
 25: <psycopg2._psycopg.type object at 0x00955720>,
...                                                                    

STRINGARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955A80>                          

threadsafety

Type:
int
Value:
2                                                                     

TIME

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955840>                          

TIMEARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955B00>                          

UNICODE

Type:
type
Value:
<psycopg2._psycopg.type object at 0x009556C0>                          

UNICODEARRAY

Type:
type
Value:
<psycopg2._psycopg.type object at 0x00955A40>