| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added new_array_type() function | Daniele Varrazzo | 2011-09-22 | 1 | -1/+1 |
| | | | | | Allows the creation of a generic array typecaster from Python. | ||||
| * | Don't leak private variables into the psycopg2.extensions interface | Daniele Varrazzo | 2011-09-22 | 1 | -0/+1 |
| | | |||||
| * | Fixed interaction between RealDictCursor and named cursors | Daniele Varrazzo | 2011-09-12 | 1 | -0/+4 |
| | | | | | Closes ticket #67. | ||||
| * | errorcodes map updated to PostgreSQL 9.1 | Daniele Varrazzo | 2011-08-22 | 1 | -0/+33 |
| | | |||||
| * | Fixed NamedTupleCursor.executemany() (ticket #65) | Daniele Varrazzo | 2011-08-09 | 1 | -1/+1 |
| | | |||||
| * | Check the connection status before putting back into the pool | Daniele Varrazzo | 2011-08-09 | 1 | -1/+16 |
| | | | | | | | Rollback connections in transaction or in error. Discard broken connections. Closes ticket #62. | ||||
| * | Raise PoolError when putting a connection not belonging to the pool | Daniele Varrazzo | 2011-08-09 | 1 | -1/+1 |
| | | | | | A KeyError was raised instead. | ||||
| * | lazy import for uuid module | Marko Kreen | 2011-06-28 | 1 | -52/+43 |
| | | | | | | | | | | | | | | Attached patch moves uuid import from inside try-except to register_uuid function. Reason: uuid module import is *very* heavy. It goes into OS searching for various .dll/.so libraries, lauches 'ldconfig' and so on... With this patch, 200x python -c 'import psycopg2.extras' goes from 22s to 7s. (plain 'import psycopg2' is 6s) -- marko | ||||
| * | Fixed version check | Daniele Varrazzo | 2011-06-04 | 1 | -6/+2 |
| | | |||||
| * | Merge branch 'neg-escape' into devel | Daniele Varrazzo | 2011-05-30 | 1 | -1/+1 |
| |\ | |||||
| | * | Fixed escape for negative numbers prefixed by minus operator | Daniele Varrazzo | 2011-05-30 | 1 | -1/+1 |
| | | | | | | | | | Closes ticket #57. | ||||
| * | | Use all the isolation levels accepted by PostgreSQL | Daniele Varrazzo | 2011-05-11 | 1 | -7/+5 |
| |/ | | | | In PG 9.1 repeatable read and serializable are distinct levels. | ||||
| * | Don't fetch all the records iterating a NamedTuple cursor on a named cursor | Daniele Varrazzo | 2011-04-26 | 1 | -1/+8 |
| | | |||||
| * | Fixed interaction between NamedTuple and named cursor | Daniele Varrazzo | 2011-04-26 | 1 | -2/+2 |
| | | | | | | Build the nametuple after fetching the first resutl, or else cursor.description will be empty. | ||||
| * | Dropped unused import | Daniele Varrazzo | 2011-04-26 | 1 | -1/+0 |
| | | |||||
| * | Fixed use of the new return value of HstoreAdapter.get_oids() | Daniele Varrazzo | 2011-02-25 | 1 | -3/+1 |
| | | |||||
| * | Don't limit the hstore search to the public schema only | Daniele Varrazzo | 2011-02-25 | 1 | -7/+16 |
| | | | | | | | Looks like there is a case for installing hstore somewhere else (see ticket #45). And after all the typecaster can be registered on a list of OIDs, so let's grab them all. | ||||
| * | Added oid parameter to register_hstore() | Daniele Varrazzo | 2011-02-21 | 1 | -18/+32 |
| | | | | | | | | The parameter is mostly useful with async connections that would need a different protocol to be queried. Issue reported by Jan "the Asynchronous". | ||||
| * | Documentation cleanup | Daniele Varrazzo | 2011-02-19 | 1 | -15/+12 |
| | | | | | | Added several links to the Python documentation using the 'intersphinx' extension. | ||||
| * | Import _psycopg as the first module in the package | Daniele Varrazzo | 2011-02-17 | 1 | -1/+6 |
| | | | | | | | Failing to do so, the real cause of the _psycopg import failed may get hidden and people may get a misleading error such as "cannot import name tz" instead. | ||||
| * | Fixed mapping for composite types defined in a schema | Daniele Varrazzo | 2011-02-09 | 1 | -3/+10 |
| | | |||||
| * | Fields order enforced in composite types adapter | Daniele Varrazzo | 2011-02-09 | 1 | -1/+2 |
| | | |||||
| * | Only use absolute imports in the package | Daniele Varrazzo | 2011-01-08 | 2 | -31/+31 |
| | | | | | | In Python 3.2b2 the relative imports are not converted into explicit ones (with .). | ||||
| * | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-03 | 1 | -4/+6 |
| |\ | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 psycopg/connection_type.c tests/test_connection.py tests/types_basic.py | ||||
| | * | Fixed TYPE adaptation to basic tuples | Daniele Varrazzo | 2011-01-03 | 1 | -4/+6 |
| | | | | | | | | | Tuples and namedtuples have different constructors. | ||||
| * | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-02 | 1 | -0/+142 |
| |\ \ | |/ | | | | | | | | | Conflicts: NEWS-2.3 setup.py | ||||
| | * | Added PostgreSQL composite types typecaster to Python tuples. | Daniele Varrazzo | 2011-01-02 | 1 | -0/+142 |
| | | | |||||
| * | | None/IN adaptation ported to Python 3. | Daniele Varrazzo | 2011-01-02 | 1 | -5/+6 |
| | | | |||||
| * | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-01 | 2 | -0/+15 |
| |\ \ | |/ | | | | | | | | | | | | | | | Conflicts: ChangeLog NEWS-2.3 lib/extensions.py psycopg/microprotocols.c setup.py | ||||
| | * | Fixed adaptation of None in composite types (ticket #26). | Daniele Varrazzo | 2011-01-01 | 2 | -0/+14 |
| | | | | | | | | | | | | | | | Added an adapter for None: it is usually not invoked as adaptation to NULL is a fast path in mogrify, but can be invoked by composite types. Notice that composite types still have the option to fast-path None (e.g. list adapter does). | ||||
| * | | Inet adapter compatible with Python 3. | Daniele Varrazzo | 2010-12-31 | 1 | -1/+1 |
| | | | |||||
| * | | Hstore adapter compatible with Python 3. | Daniele Varrazzo | 2010-12-31 | 1 | -25/+20 |
| | | | |||||
| * | | Added b() function to return bytes in both Py2 and Py3. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+10 |
| | | | |||||
| * | | Deal with slices passed to __*item__ in Python 3. | Daniele Varrazzo | 2010-12-23 | 1 | -2/+2 |
| | | | |||||
| * | | Fixed PG -> Py encodings mapping with non-alnum chars. | Daniele Varrazzo | 2010-12-21 | 1 | -0/+8 |
| | | | | | | | | | | | | | We mangle the encoding names a little bit before asking it to the backend: be sure to be able to find the equivalent Python code back or decoding (unicode cast or Py3) will barf. | ||||
| * | | Some light cleanup for Py3 conversion. | Daniele Varrazzo | 2010-12-21 | 2 | -13/+22 |
| |/ | | | | Either flagged as warning by python2.6 -3 or converted by 2to3. | ||||
| * | DictRow items can be updated. Patch by Alex Aster. | Daniele Varrazzo | 2010-12-01 | 1 | -0/+5 |
| | | |||||
| * | hstore registration doesn't fail if typarray column not available. | Daniele Varrazzo | 2010-11-19 | 1 | -4/+6 |
| | | |||||
| * | NamedTupleCursor doesn't change exception when fetching with no result. | Daniele Varrazzo | 2010-11-11 | 1 | -1/+1 |
| | | |||||
| * | Build the namedtuple only once per execution, not once per fetch. | Daniele Varrazzo | 2010-11-11 | 1 | -3/+23 |
| | | |||||
| * | Avoid pointless string manipulation in NamedTupleCursor. | Daniele Varrazzo | 2010-11-09 | 1 | -2/+1 |
| | | | | | Closes ticket #10. Reported by Marko Kreen. | ||||
| * | Added NamedTupleCursor. | Daniele Varrazzo | 2010-11-06 | 1 | -0/+55 |
| | | |||||
| * | Hstore documentation improved. | Daniele Varrazzo | 2010-11-05 | 1 | -13/+17 |
| | | |||||
| * | Added some documentation for the hstore adaptation. | Daniele Varrazzo | 2010-11-05 | 1 | -6/+6 |
| | | |||||
| * | The hstore typecast can be registered globally. | Daniele Varrazzo | 2010-11-05 | 1 | -27/+40 |
| | | |||||
| * | Favour the PG9 implementation of the hstore adapter. | Daniele Varrazzo | 2010-11-05 | 1 | -5/+5 |
| | | |||||
| * | Hstore can return unicode keys and values. | Daniele Varrazzo | 2010-11-05 | 1 | -5/+26 |
| | | |||||
| * | Correctly parse escaped quotes from hstore. | Daniele Varrazzo | 2010-11-05 | 1 | -9/+4 |
| | | | | | Parse regexp simplified. | ||||
| * | Added special cases to store empty dicts. | Daniele Varrazzo | 2010-11-05 | 1 | -0/+6 |
| | | |||||
| * | Added hstore typecaster registration. | Daniele Varrazzo | 2010-11-05 | 1 | -0/+43 |
| | | |||||
