Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Rework replication protocol | Oleksandr Shulgin | 2015-06-30 | 1 | -17/+19 | |
| | | | | | | | | | | | | | | | | | | This change exposes lower level functions for operating the (logical) replication protocol, while keeping the high-level start_replication function that does all the job for you in case of a synchronous connection. A number of other changes and fixes are put into this commit. | |||||
* | | Expose ReplicationMessage type in extras | Oleksandr Shulgin | 2015-06-11 | 1 | -2/+3 | |
| | | ||||||
* | | Fix logical decoding plugin options adaptation on python3 | Oleksandr Shulgin | 2015-06-10 | 1 | -1/+1 | |
| | | ||||||
* | | Add ReplicationMessage object | Oleksandr Shulgin | 2015-06-05 | 1 | -0/+4 | |
| | | ||||||
* | | Improve identify_system: don't hardcode column names | Oleksandr Shulgin | 2015-06-02 | 1 | -1/+1 | |
| | | ||||||
* | | Add support for streaming replication protocol | Oleksandr Shulgin | 2015-06-01 | 1 | -0/+138 | |
|/ | | | | | | | | | | | | Introduce ReplicationConnection and ReplicationCursor classes, that incapsulate initiation of special type of PostgreSQL connection and handling of special replication commands only available in this special connection mode. The handling of stream of replication data from the server is modelled largely after the existing support for "COPY table TO file" command and pg_recvlogical tool supplied with PostgreSQL (though, it can also be used for physical replication.) | |||||
* | Fixed MinTimeLoggingCursor.callproc() | andrew deryabin | 2015-05-03 | 1 | -1/+1 | |
| | ||||||
* | Add register_default_jsonb() and register the type | Daniele Varrazzo | 2014-08-13 | 1 | -1/+2 | |
| | ||||||
* | Fix multiple misspellings | Piotr Kasprzyk | 2013-04-26 | 1 | -3/+3 | |
| | ||||||
* | The UUID adapter returns bytes instead of str in Python 3 | Daniele Varrazzo | 2013-04-07 | 1 | -6/+8 | |
| | | | | Also added __conform__ method to the adapter. | |||||
* | Dropped __all__ from modules | Daniele Varrazzo | 2013-04-07 | 1 | -32/+28 | |
| | | | | | | They were only used to generate docs with Epydoc, now largely forgotten. Imports in extras cleaned up to expose the API only. | |||||
* | Fixed pickling of DictRow objects too | Daniele Varrazzo | 2012-12-11 | 1 | -1/+8 | |
| | ||||||
* | Fixed pickling of RealDictRow objects | Daniele Varrazzo | 2012-12-10 | 1 | -0/+7 | |
| | ||||||
* | Fixed empty strings handling in composite caster | Daniele Varrazzo | 2012-12-03 | 1 | -2/+2 | |
| | | | | Closes ticket #141. | |||||
* | 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...) | |||||
* | Merge branch 'range-type' into devel | Daniele Varrazzo | 2012-09-27 | 1 | -0/+7 | |
|\ | ||||||
| * | NumberRange renamed to NumericRange | Daniele Varrazzo | 2012-09-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | I was avoiding Numeric to avoid conflicting with the 'numeric' Postgres type, which is an alias for 'decimal'. But now that there is a single numeric range I can use the preferred name | |||||
| * | Dropped Range classes for specific numeric types | Daniele Varrazzo | 2012-09-23 | 1 | -1/+0 | |
| | | ||||||
| * | Added first implementation of Range type, adapter, typecaster | Daniele Varrazzo | 2012-09-23 | 1 | -0/+7 | |
| | | ||||||
* | | Merge branch 'json' into devel | Daniele Varrazzo | 2012-09-27 | 1 | -0/+7 | |
|\ \ | ||||||
| * | | Added register_default_json() function | Daniele Varrazzo | 2012-09-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | Register a typecaster for PostgreSQL 9.2 json. | |||||
| * | | Added json typecaster | Daniele Varrazzo | 2012-09-19 | 1 | -55/+6 | |
| | | | ||||||
| * | | Added Json adapter | Daniele Varrazzo | 2012-09-19 | 1 | -0/+55 | |
| |/ | ||||||
* | | Merge branch 'composite-custom' into devel | Daniele Varrazzo | 2012-09-27 | 1 | -39/+29 | |
|\ \ | ||||||
| * | | Added schema attribute to CompositeCaster | Daniele Varrazzo | 2012-09-22 | 1 | -2/+3 | |
| | | | ||||||
| * | | Info about versions history moved from code to docs | Daniele Varrazzo | 2012-09-22 | 1 | -6/+0 | |
| | | | ||||||
| * | | Added documentation about CompositeCaster subclassing | Daniele Varrazzo | 2012-09-22 | 1 | -26/+9 | |
| | | | ||||||
| * | | Make CompositeCaster easier to subclass | Daniele Varrazzo | 2012-09-22 | 1 | -7/+19 | |
| | | | ||||||
* | | | Info about hstore versions history moved from code to docs | Daniele Varrazzo | 2012-09-22 | 1 | -10/+0 | |
|/ / | ||||||
* | | Use namedtuple._make in NamedTupleCursor and CompositeCaster | Daniele Varrazzo | 2012-09-20 | 1 | -10/+9 | |
|/ | | | | | | Makes things more natural as _make has the same signature of the tuple (see _ctor in CompositeCaster) and is probably more efficient with less intermediate sequences to build. | |||||
* | Fixed register_hstore and register_composite with non-dbapi objects | Daniele Varrazzo | 2012-08-14 | 1 | -12/+14 | |
| | | | | Closed ticket #114. | |||||
* | 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 cursor() arguments propagation to other connection classes | Daniele Varrazzo | 2012-04-11 | 1 | -27/+19 | |
| | ||||||
* | Allow user to override connection factory cursors | Corry Haines | 2012-04-11 | 1 | -11/+10 | |
| | | | | | | | | | | | | Prior to this change, using a extras.connection_factory would not allow any other cursor to be used on that connection. It was set in stone. This change allows all cursor options to pass through and override the connection factory behaviors. This allows a connection_factory to be dropped into existing code with no disruption. This change also standardizes the extras.connection_factories to have the same behavior and all pass through *args and **kwargs. | |||||
* | Update all links to PostgreSQL docs to the current version. | Marti Raudsepp | 2012-02-28 | 1 | -1/+1 | |
| | | | | I also checked all links and anchors to make sure they're still valid. | |||||
* | Added support for inet array | Daniele Varrazzo | 2012-02-23 | 1 | -6/+25 | |
| | ||||||
* | register_uuid takes more iterables types as oids argument | Daniele Varrazzo | 2012-02-23 | 1 | -2/+9 | |
| | | | | Also added docs for the function parameters. | |||||
* | Fixed NamedTupleCursor rownumber during iteration. | Daniele Varrazzo | 2012-02-23 | 1 | -7/+10 | |
| | | | | | | | The correction is similar to the other one for the other subclasses. Also added tests for rowcount and rownumber during different fetch styles. Just in case. | |||||
* | Fixed rownumber for cursor subclasses during iterations | Daniele Varrazzo | 2012-02-23 | 1 | -14/+6 | |
| | | | | | | | Regression introduced to fix ticket #80. Don't use fetchmany to get the chunks of values. I did it that way because I was ending up into infinite recursion calling __iter__ from __iter__: the solution has been the "while 1: yield next()" idiom. | |||||
* | Dropped custom array parsing for UUID[] | Daniele Varrazzo | 2012-02-23 | 1 | -10/+1 | |
| | | | | Use the C generic array parsing exposed by new_array_type(). | |||||
* | Parens don't need escaping in regexp char classes | Daniele Varrazzo | 2012-02-23 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| |