Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix DeprecationWarning: generator '__iter__' raised StopIterationfix-iter-warning | NotSqrt | 2017-01-04 | 1 | -20/+26 |
| | | | | Closes #498 | ||||
* | Don't try to write bytes in the LoggingConnection file | Daniele Varrazzo | 2016-12-29 | 1 | -0/+2 |
| | | | | Close #483 | ||||
* | Fix "invalid escape sequence" warning in Python 3.6 | Tim Graham | 2016-12-25 | 1 | -1/+1 |
| | | | | http://bugs.python.org/issue27364 | ||||
* | Added ipaddress objects conversion | Daniele Varrazzo | 2016-10-11 | 1 | -0/+4 |
| | | | | Close #387 | ||||
* | inet adapters deprecated | Daniele Varrazzo | 2016-10-11 | 1 | -0/+5 |
| | | | | Close #343 | ||||
* | Python source cleanup using flake8 | Daniele Varrazzo | 2016-10-11 | 1 | -37/+63 |
| | |||||
* | Dropped use of b() "macro" and 2to3 fixer | Daniele Varrazzo | 2016-08-15 | 1 | -9/+8 |
| | | | | Just use the b"" strings syntax supported from python 2.6. | ||||
* | Move replication-related imports to extras.py | Oleksandr Shulgin | 2016-03-08 | 1 | -4/+4 |
| | |||||
* | Use python-defined make_dsn() for ReplicationConnection class | Oleksandr Shulgin | 2016-03-08 | 1 | -13/+2 |
| | |||||
* | Move replication connection to C level. | Oleksandr Shulgin | 2015-10-27 | 1 | -46/+11 |
| | |||||
* | Move the `decode` parameter to `start_replication()`. | Oleksandr Shulgin | 2015-10-23 | 1 | -2/+2 |
| | | | | | It makes more sense this way, because otherwise it must be passed to every call of `read_message()`. | ||||
* | Add quick start to the replication doc, minor doc fixes. | Oleksandr Shulgin | 2015-10-20 | 1 | -1/+1 |
| | |||||
* | Properly subclass ReplicationCursor on C level. | Oleksandr Shulgin | 2015-10-19 | 1 | -6/+4 |
| | |||||
* | Replace stop_replication with requirement for an exception. | Oleksandr Shulgin | 2015-10-19 | 1 | -0/+12 |
| | |||||
* | Fix async replication and test. | Oleksandr Shulgin | 2015-10-15 | 1 | -3/+4 |
| | |||||
* | Use quote_ident from psycopg2.extensions | Oleksandr Shulgin | 2015-10-15 | 1 | -11/+7 |
| | |||||
* | Merge branch 'master' into feature/replication-protocol | Oleksandr Shulgin | 2015-10-15 | 1 | -9/+14 |
|\ | |||||
| * | The wait_select callback can cancel a query using Ctrl-C | Daniele Varrazzo | 2015-10-01 | 1 | -9/+14 |
| | | | | | | | | Fixes #333. | ||||
* | | Remove IDENTIFY_SYSTEM wrapper method (it can't work with async anyway). | Oleksandr Shulgin | 2015-10-13 | 1 | -8/+1 |
| | | |||||
* | | Rework replication connection/cursor classes | Oleksandr Shulgin | 2015-10-01 | 1 | -5/+4 |
| | | |||||
* | | Use parse_dsn in ReplicationConnectionBase | Oleksandr Shulgin | 2015-10-01 | 1 | -15/+10 |
| | | |||||
* | | Update replication connection/cursor interface and docs. | Oleksandr Shulgin | 2015-10-01 | 1 | -47/+74 |
| | | |||||
* | | Cleanup start replication wrt. slot type a bit. | Oleksandr Shulgin | 2015-10-01 | 1 | -25/+26 |
| | | |||||
* | | 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 |
| | | |