Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fixed sql.Composed representation | Daniele Varrazzo | 2017-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed sql stuff in Py3 | Daniele Varrazzo | 2017-01-01 | 1 | -9/+15 | |
| | | ||||||
* | | Added sql.compose() implementation | Daniele Varrazzo | 2017-01-01 | 1 | -2/+98 | |
| | | ||||||
* | | Added basic sql module implementation | Daniele Varrazzo | 2017-01-01 | 1 | -0/+174 | |
| | | ||||||
* | | Adding some boilerplate for the new module | Daniele Varrazzo | 2017-01-01 | 1 | -0/+25 | |
|/ | ||||||
* | 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 | 2 | -0/+93 | |
| | | | | 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 | 9 | -139/+187 | |
| | ||||||
* | Dropped use of b() "macro" and 2to3 fixer | Daniele Varrazzo | 2016-08-15 | 3 | -27/+17 | |
| | | | | Just use the b"" strings syntax supported from python 2.6. | |||||
* | Merge branch 'replication-protocol' | Daniele Varrazzo | 2016-08-14 | 1 | -1/+122 | |
|\ | ||||||
| * | Merge branch 'master' into replication-protocol | Daniele Varrazzo | 2016-08-07 | 1 | -0/+4 | |
| |\ | | | | | | | | | | | | | Conflicts: tests/testconfig.py | |||||
| * | | Move replication-related imports to extras.py | Oleksandr Shulgin | 2016-03-08 | 2 | -6/+4 | |
| | | | ||||||
| * | | Use python-defined make_dsn() for ReplicationConnection class | Oleksandr Shulgin | 2016-03-08 | 2 | -14/+3 | |
| | | | ||||||
| * | | Merge branch 'master' into feature/replication-protocol-c-connection-object | Oleksandr Shulgin | 2016-03-04 | 4 | -13/+73 | |
| |\ \ | ||||||
| * | | | Move replication connection to C level. | Oleksandr Shulgin | 2015-10-27 | 2 | -47/+13 | |
| | | | | ||||||
| * | | | Merge branch 'feature/connect2' into feature/replication-protocol | Oleksandr Shulgin | 2015-10-27 | 2 | -48/+4 | |
| |\ \ \ | ||||||
| | * | | | Rework psycopg2.connect() interface. | Oleksandr Shulgin | 2015-10-27 | 2 | -48/+4 | |
| | | | | | ||||||
| * | | | | 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 | 2 | -7/+5 | |
| | | | | | ||||||
| * | | | | 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 | 3 | -12/+17 | |
| |\ \ \ \ | | |/ / / | ||||||
| * | | | | 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 | |
| | | | | | ||||||
| * | | | | Merge remote-tracking branch 'origin/master' into repl | Oleksandr Shulgin | 2015-10-01 | 1 | -1/+2 | |
| |\ \ \ \ | ||||||
| * \ \ \ \ | Merge remote-tracking branch 'zalando/feature/replication-protocol' into ↵ | Oleksandr Shulgin | 2015-06-30 | 2 | -2/+2 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | feature/replication-protocol | |||||
| | * \ \ \ \ | Merge branch 'master' into feature/replication-message-object | Oleksandr Shulgin | 2015-06-30 | 2 | -2/+2 | |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/extensions.py | |||||
| * | | | | | | | 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 | 2 | -3/+4 | |
| | | | | | | | ||||||
| * | | | | | | 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.) | |||||
* | | | | | | | Make Range pickleable | Jonathan Ross Rogers | 2016-08-07 | 1 | -0/+11 | |
| |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | errorcodes map updated to PostgreSQL 9.5. | Daniele Varrazzo | 2016-07-01 | 1 | -0/+4 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | Allow make_dsn to take no parameter | Daniele Varrazzo | 2016-03-03 | 2 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The behaviour of connect() is unchanged: either dsn or params must be specified. | |||||
* | | | | | Validate output result from make_dsn() | Daniele Varrazzo | 2016-03-03 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The output is not necessarily munged anyway: if no keyword is passed, validate the input but return it untouched. | |||||
* | | | | | Added docs about make_dsn | Daniele Varrazzo | 2016-03-03 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | connect() docs updated to document the arguments merging. | |||||
* | | | | | Verify that the dsn is not manipulated by make_dsn if not necessary | Daniele Varrazzo | 2016-03-03 | 2 | -3/+7 | |
| | | | | | ||||||
* | | | | | Implementation of make_dsn in Python | Daniele Varrazzo | 2016-03-03 | 2 | -50/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to what proposed in #363, but with a much simpler implementation. | |||||
* | | | | | Merge pull request #375 from kwotuveang3k4bk/patch-1 | Federico Di Gregorio | 2016-01-31 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Update psycopg1.py | |||||
| * | | | | | Update psycopg1.py | Jan Janßen | 2015-11-10 | 1 | -1/+1 | |
| | |_|_|/ | |/| | | | ||||||
* | | | | | Fixed race condition on import in errorcodes.lookup | Daniele Varrazzo | 2015-12-16 | 1 | -2/+8 | |
|/ / / / | | | | | | | | | | | | | Fixes #382. |