Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed never raised exception in composite parsing | Daniele Varrazzo | 2012-02-23 | 1 | -1/+1 | |
| | ||||||
* | 'register_composite()' also works with tables | Daniele Varrazzo | 2011-12-15 | 1 | -1/+2 | |
| | | | | Skip dropped and hidden columns when inspecting the schema. | |||||
* | Use 'autocommit' to check if to rollback after extra types registration | Daniele Varrazzo | 2011-12-15 | 1 | -2/+2 | |
| | | | | isolation_level currently requires an extra query, autocommit doesn't. | |||||
* | Fixed error in schema mismatch in composite caster | Daniele Varrazzo | 2011-12-15 | 1 | -2/+2 | |
| | ||||||
* | Named DictCursor/RealDictCursor honour itersize | Daniele Varrazzo | 2011-12-11 | 1 | -8/+18 | |
| | | | | Closes ticket #80. | |||||
* | Added support for arrays of composite types | Daniele Varrazzo | 2011-09-22 | 1 | -6/+31 | |
| | ||||||
* | Added support for arrays of hstores | Daniele Varrazzo | 2011-09-22 | 1 | -5/+25 | |
| | ||||||
* | Fixed interaction between RealDictCursor and named cursors | Daniele Varrazzo | 2011-09-12 | 1 | -0/+4 | |
| | | | | Closes ticket #67. | |||||
* | Fixed NamedTupleCursor.executemany() (ticket #65) | Daniele Varrazzo | 2011-08-09 | 1 | -1/+1 | |
| | ||||||
* | 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 | |||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Deal with slices passed to __*item__ in Python 3. | Daniele Varrazzo | 2010-12-23 | 1 | -2/+2 | |
| | | ||||||
* | | Some light cleanup for Py3 conversion. | Daniele Varrazzo | 2010-12-21 | 1 | -12/+21 | |
|/ | | | | 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 | |
| | ||||||
* | parse_hstore converted in class method. | Daniele Varrazzo | 2010-11-05 | 1 | -50/+52 | |
| | ||||||
* | Added function to parse an hstore into a dict. | Daniele Varrazzo | 2010-11-05 | 1 | -1/+51 | |
| | ||||||
* | Added implementation of python dict adapter to hstore. | Daniele Varrazzo | 2010-11-05 | 1 | -0/+43 | |
| | ||||||
* | The Inet type knows how to adapt itself. | Daniele Varrazzo | 2010-09-25 | 1 | -1/+4 | |
| | | | | | Implemented __conform__ as the Adaptation PEP suggests. It is not required for the type to be registered as adapter. | |||||
* | Added deprecation warning to register_tstz_w_secs | Federico Di Gregorio | 2010-07-13 | 1 | -1/+2 | |
| | ||||||
* | Dropped register_tstz_w_secs() implementation. | Daniele Varrazzo | 2010-05-20 | 1 | -45/+7 | |
| | | | | | The function is no-op now that the default type caster can deal with seconds in the tz offset. | |||||
* | Changed 'psyco_wait()' to only take the connection. | Daniele Varrazzo | 2010-04-21 | 1 | -3/+2 | |
| | ||||||
* | Added wait callback and functions to deal with it. | Daniele Varrazzo | 2010-04-21 | 1 | -0/+24 | |
| | ||||||
* | Make asynchronous connections produce asynchronous cursors by default | Jan UrbaĆski | 2010-04-05 | 1 | -8/+8 | |
| | | | | | | | | | | | Drop the async kwarg from cursor.execute(), cursors created by asynchronous connections will be asynchronous by default, ones created by synchronous connections will be synchronous. Mind that this might break third party subclasses of psycopg2.extensions.cursor, if they try to chain to the superclass in their execute() implementation and are passing the async kwarg. The example cursors in psycopg2.extras have been fixed no to do that. |