summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Dropped build dirs entries from setup.cfgDaniele Varrazzo2012-05-231-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_MallocDaniele Varrazzo2012-05-222-10/+4
| |/ | | | | | | Closes ticket #110.
| * Fixed superclass methods call.Daniele Varrazzo2012-05-081-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 3Daniele Varrazzo2012-04-111-6/+13
| | | | | | | | Thanks to Arfrever for the patch (ticket #107).
| * Merge branch 'cursor-args-fix' into develDaniele Varrazzo2012-04-116-61/+90
| |\
| * | Bump to next dev releaseDaniele Varrazzo2012-04-111-1/+1
| | |
* | | Merge commit '2_4_6'Daniele Varrazzo2013-01-2137-258/+791
|\ \ \
| * | | Version bumped to 2.4.62_4_6Daniele Varrazzo2012-12-111-1/+1
| | | |
| * | | Fixed pickling of DictRow objects tooDaniele Varrazzo2012-12-113-2/+23
| | | |
| * | | Fixed pickling of RealDictRow objectsDaniele Varrazzo2012-12-113-0/+20
| | | |
| * | | Fixed connections re-init across ZSQL methodsDaniele Varrazzo2012-12-032-4/+5
| | | | | | | | | | | | | | | | Fixes issue #142, probably #123 and #125 too.
| * | | Fixed empty strings handling in composite casterDaniele Varrazzo2012-12-033-2/+24
| | | | | | | | | | | | | | | | Closes ticket #141.
| * | | Added specific pool implementation for ZPsycopgDADaniele Varrazzo2012-12-033-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 availableDaniele Varrazzo2012-12-021-4/+9
| | | | | | | | | | | | | | | | Avoid spurious queries as reported in psycopg2 ticket #125.
| * | | Show all the available isolation levels in ZPsycopgDA menuDaniele Varrazzo2012-12-022-1/+9
| | | |
| * | | Added 2.4.6 to the allowed versions for ZPsycopgDADaniele Varrazzo2012-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | Dropped beta versions and the versions with the messed up isolation level constants.
| * | | Release the GIL around PQgetResult calls after COPYDaniele Varrazzo2012-11-242-5/+18
| | | | | | | | | | | | | | | | It should fix ticket #140.
| * | | Merge branch 'fix-135' into maint_2_4Daniele Varrazzo2012-10-213-4/+25
| |\ \ \
| | * | | Fixed pickling of FixedOffsetTimezone objectsDaniele Varrazzo2012-10-213-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__ superclassDaniele Varrazzo2012-10-211-1/+1
| | | | |
| | * | | Dropped redundant call to FixedOffsetTimezone.__init__Daniele Varrazzo2012-10-211-1/+0
| |/ / /
| * | | Discard any result produced by cursor.executemany()Daniele Varrazzo2012-10-115-28/+44
| | | |
| * | | Merge branch 'fix-113' into maint_2_4Daniele Varrazzo2012-10-097-27/+139
| |\ \ \
| | * | | Close the connection on error in callbackDaniele Varrazzo2012-10-094-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 panicDaniele Varrazzo2012-10-092-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.4Daniele Varrazzo2012-10-091-0/+5
| | | | |
| | * | | Attempt to fix issue #113.Daniele Varrazzo2012-10-092-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 Varrazzo2012-10-092-7/+18
| |/ / /
| * | | Dropped compiler warning on Py 2.4Daniele Varrazzo2012-10-061-0/+6
| | | |
| * | | Using super() in the connection/cursor subclassesDaniele Varrazzo2012-09-281-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 Varrazzo2012-09-262-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 dnsDaniele Varrazzo2012-09-261-3/+2
| | | |
| * | | Dropped quirks in connection arguments handlingDaniele Varrazzo2012-09-253-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 Varrazzo2012-09-241-5/+6
| | | |
| * | | Info about hstore versions history moved from code to docsDaniele Varrazzo2012-09-222-10/+9
| | | |
| * | | Fixed infinite loop when parsing '{' as arrayDaniele Varrazzo2012-09-202-1/+5
| | | |
| * | | Fixed return value after malformed arraysDaniele Varrazzo2012-09-102-3/+14
| | | |
| * | | Fixed note on rollback on close in the docDaniele Varrazzo2012-08-151-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 docsDaniele Varrazzo2012-08-151-2/+2
| | | |
| * | | Fixed tests to run with PG 8.3Daniele Varrazzo2012-09-041-4/+4
| | | |
| * | | Fixed always true comparaisonFederico Di Gregorio2012-08-171-2/+2
| | | |
| * | | Fixed tpc_recover() with RealDictStuffDaniele Varrazzo2012-08-143-6/+24
| | | | | | | | | | | | | | | | Same problem and correction of ticket #114.
| * | | Fixed register_hstore and register_composite with non-dbapi objectsDaniele Varrazzo2012-08-143-12/+64
| | | | | | | | | | | | | | | | Closed ticket #114.
| * | | Fixed incorrect and outdated connection.commit() docDaniele Varrazzo2012-07-271-6/+12
| | | |
| * | | Fixed typo in docsDaniele Varrazzo2012-07-081-1/+1
| | | | | | | | | | | | | | | | Ticket #115 closed.
| * | | Added %% use to the docsDaniele Varrazzo2012-05-291-0/+3
| | | |
| * | | Fixed cursor name as unicode string on Python 3Daniele Varrazzo2012-05-271-0/+7
| | | |
| * | | Dropped GIL release around function calling PyMem_MallocDaniele Varrazzo2012-05-222-10/+4
| | | | | | | | | | | | | | | | Closes ticket #110.
| * | | Fixed superclass methods call.Daniele Varrazzo2012-05-081-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 3Daniele Varrazzo2012-04-111-6/+13
| | | | | | | | | | | | | | | | Thanks to Arfrever for the patch (ticket #107).