Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Dropped build dirs entries from setup.cfg | Daniele Varrazzo | 2012-05-23 | 1 | -22/+7 | |
| | | | | | | | | | | | | | | | They were not used anymore after pg_config had become mandatory to build the module. Thanks to Steven Winfield for the report (ticket #109). | |||||
| * | | Dropped GIL release around function calling PyMem_Malloc | Daniele Varrazzo | 2012-05-22 | 2 | -10/+4 | |
| |/ | | | | | | | Closes ticket #110. | |||||
| * | Fixed superclass methods call. | Daniele Varrazzo | 2012-05-08 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | Methods execute() and callproc() in DictCursor and RealDictCursor should call DictCursorBase methods, not _cursor's ones. Reported by Alexey Luchko on the ML. | |||||
| * | Fixed text docs build on Python 3 | Daniele Varrazzo | 2012-04-11 | 1 | -6/+13 | |
| | | | | | | | | Thanks to Arfrever for the patch (ticket #107). | |||||
| * | Merge branch 'cursor-args-fix' into devel | Daniele Varrazzo | 2012-04-11 | 6 | -61/+90 | |
| |\ | ||||||
| * | | Bump to next dev release | Daniele Varrazzo | 2012-04-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge commit '2_4_6' | Daniele Varrazzo | 2013-01-21 | 37 | -258/+791 | |
|\ \ \ | ||||||
| * | | | Version bumped to 2.4.62_4_6 | Daniele Varrazzo | 2012-12-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fixed pickling of DictRow objects too | Daniele Varrazzo | 2012-12-11 | 3 | -2/+23 | |
| | | | | ||||||
| * | | | Fixed pickling of RealDictRow objects | Daniele Varrazzo | 2012-12-11 | 3 | -0/+20 | |
| | | | | ||||||
| * | | | Fixed connections re-init across ZSQL methods | Daniele Varrazzo | 2012-12-03 | 2 | -4/+5 | |
| | | | | | | | | | | | | | | | | Fixes issue #142, probably #123 and #125 too. | |||||
| * | | | Fixed empty strings handling in composite caster | Daniele Varrazzo | 2012-12-03 | 3 | -2/+24 | |
| | | | | | | | | | | | | | | | | Closes ticket #141. | |||||
| * | | | Added specific pool implementation for ZPsycopgDA | Daniele Varrazzo | 2012-12-03 | 3 | -3/+152 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation is based on psycopg 2.4, which should be less broken (zope-wise) of the current one. Instantiating psycopg2.pool.PersistentConnectionPool now raises a warning. This should fix ticket #123, #125. The issue of the reset on set_client_encoding() is still present but that's always been there and I'm no good at fixing it. | |||||
| * | | | Use set_session instead of set_isolation_level where available | Daniele Varrazzo | 2012-12-02 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | Avoid spurious queries as reported in psycopg2 ticket #125. | |||||
| * | | | Show all the available isolation levels in ZPsycopgDA menu | Daniele Varrazzo | 2012-12-02 | 2 | -1/+9 | |
| | | | | ||||||
| * | | | Added 2.4.6 to the allowed versions for ZPsycopgDA | Daniele Varrazzo | 2012-12-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Dropped beta versions and the versions with the messed up isolation level constants. | |||||
| * | | | Release the GIL around PQgetResult calls after COPY | Daniele Varrazzo | 2012-11-24 | 2 | -5/+18 | |
| | | | | | | | | | | | | | | | | It should fix ticket #140. | |||||
| * | | | Merge branch 'fix-135' into maint_2_4 | Daniele Varrazzo | 2012-10-21 | 3 | -4/+25 | |
| |\ \ \ | ||||||
| | * | | | Fixed pickling of FixedOffsetTimezone objects | Daniele Varrazzo | 2012-10-21 | 3 | -2/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have also verified that the fixed class can unpickle instance pickled with the buggy one and viceversa. Fixes ticket #135. | |||||
| | * | | | More idiomatic way to call FixedOffsetTimezone.__new__ superclass | Daniele Varrazzo | 2012-10-21 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Dropped redundant call to FixedOffsetTimezone.__init__ | Daniele Varrazzo | 2012-10-21 | 1 | -1/+0 | |
| |/ / / | ||||||
| * | | | Discard any result produced by cursor.executemany() | Daniele Varrazzo | 2012-10-11 | 5 | -28/+44 | |
| | | | | ||||||
| * | | | Merge branch 'fix-113' into maint_2_4 | Daniele Varrazzo | 2012-10-09 | 7 | -27/+139 | |
| |\ \ \ | ||||||
| | * | | | Close the connection on error in callback | Daniele Varrazzo | 2012-10-09 | 4 | -61/+69 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately PQcancel blocks, so it's not better than PQgetResult. It has been suggested to use PQreset in non-blocking way but this would give the Python program the burden of handling a connection done but not configured in an unexpected place. | |||||
| | * | | | Get the result from the connection after the green panic | Daniele Varrazzo | 2012-10-09 | 2 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the connection won't be usable in case we manage to put it back on track (libpq reports "another command is already in progress") | |||||
| | * | | | Added compatibility PyErr_WarnEx macro for Python 2.4 | Daniele Varrazzo | 2012-10-09 | 1 | -0/+5 | |
| | | | | | ||||||
| | * | | | Attempt to fix issue #113. | Daniele Varrazzo | 2012-10-09 | 2 | -15/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the network is down, trying to read blocking will hang the process hard (ctrl-c not working). Send a cancel signal instead (as suggested in http://archives.postgresql.org/pgsql-hackers/2012-07/msg00903.php) and go back into a green polling: this should allow a further error (e.g. another ctrl-c) to break the loop. In this case we cannot assume anything about the state of the connection, so we close it. | |||||
| | * | | | Added function conn_close_locked() | Daniele Varrazzo | 2012-10-09 | 2 | -7/+18 | |
| |/ / / | ||||||
| * | | | Dropped compiler warning on Py 2.4 | Daniele Varrazzo | 2012-10-06 | 1 | -0/+6 | |
| | | | | ||||||
| * | | | Using super() in the connection/cursor subclasses | Daniele Varrazzo | 2012-09-28 | 1 | -29/+28 | |
| | | | | | | | | | | | | | | | | | | | | This opens to collaborative subclassing (e.g. you may want to have a logging namedtuple cursor...) | |||||
| * | | | Raise TypeError instead of InterfaceError on bad params on connect() | Daniele Varrazzo | 2012-09-26 | 2 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TypeError is the standard Python error raised in this case: $ python -c "(lambda a: None)(b=10)" TypeError: <lambda>() got an unexpected keyword argument 'b' We only used to raise InterfaceError when connect was used without any parameter at all, so it's hard to think a program depending on that design. Furthermore the function has always raised (and still does) OperationalError too, if the bad argument is detected by the libpq, and that cannot be changed because we can't tell the difference from a normal connection error. | |||||
| * | | | Improved error message on connect when kwargs are passed together with dns | Daniele Varrazzo | 2012-09-26 | 1 | -3/+2 | |
| | | | | ||||||
| * | | | Dropped quirks in connection arguments handling | Daniele Varrazzo | 2012-09-25 | 3 | -26/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now connect() raises an exception instead of swallowing keyword arguments when a connection string is specified as well Closes ticket #131. | |||||
| * | | | Fixed SQL_IN when getquoted() is called without prepare() | Daniele Varrazzo | 2012-09-24 | 1 | -5/+6 | |
| | | | | ||||||
| * | | | Info about hstore versions history moved from code to docs | Daniele Varrazzo | 2012-09-22 | 2 | -10/+9 | |
| | | | | ||||||
| * | | | Fixed infinite loop when parsing '{' as array | Daniele Varrazzo | 2012-09-20 | 2 | -1/+5 | |
| | | | | ||||||
| * | | | Fixed return value after malformed arrays | Daniele Varrazzo | 2012-09-10 | 2 | -3/+14 | |
| | | | | ||||||
| * | | | Fixed note on rollback on close in the doc | Daniele Varrazzo | 2012-08-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | It's not like we call "rollback()": we close the connection and the backend rolls back on its own. It may have differences, e.g. conn poolers. | |||||
| * | | | Fixed smell of pizza in the docs | Daniele Varrazzo | 2012-08-15 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Fixed tests to run with PG 8.3 | Daniele Varrazzo | 2012-09-04 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Fixed always true comparaison | Federico Di Gregorio | 2012-08-17 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Fixed tpc_recover() with RealDictStuff | Daniele Varrazzo | 2012-08-14 | 3 | -6/+24 | |
| | | | | | | | | | | | | | | | | Same problem and correction of ticket #114. | |||||
| * | | | Fixed register_hstore and register_composite with non-dbapi objects | Daniele Varrazzo | 2012-08-14 | 3 | -12/+64 | |
| | | | | | | | | | | | | | | | | Closed ticket #114. | |||||
| * | | | Fixed incorrect and outdated connection.commit() doc | Daniele Varrazzo | 2012-07-27 | 1 | -6/+12 | |
| | | | | ||||||
| * | | | Fixed typo in docs | Daniele Varrazzo | 2012-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Ticket #115 closed. | |||||
| * | | | Added %% use to the docs | Daniele Varrazzo | 2012-05-29 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | Fixed cursor name as unicode string on Python 3 | Daniele Varrazzo | 2012-05-27 | 1 | -0/+7 | |
| | | | | ||||||
| * | | | Dropped GIL release around function calling PyMem_Malloc | Daniele Varrazzo | 2012-05-22 | 2 | -10/+4 | |
| | | | | | | | | | | | | | | | | Closes ticket #110. | |||||
| * | | | Fixed superclass methods call. | Daniele Varrazzo | 2012-05-08 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Methods execute() and callproc() in DictCursor and RealDictCursor should call DictCursorBase methods, not _cursor's ones. Reported by Alexey Luchko on the ML. | |||||
| * | | | Fixed text docs build on Python 3 | Daniele Varrazzo | 2012-04-11 | 1 | -6/+13 | |
| | | | | | | | | | | | | | | | | Thanks to Arfrever for the patch (ticket #107). |