summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Merge branch 'feature/connect2' into feature/replication-protocolOleksandr Shulgin2015-10-277-63/+303
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | Rework psycopg2.connect() interface.Oleksandr Shulgin2015-10-277-63/+303
| | | |_|/ | | |/| |
| * | | | Merge branch 'master' into feature/replication-protocolOleksandr Shulgin2015-10-271-2/+2
| |\ \ \ \ | | |/ / /
| * | | | Drop ReplicationCursor.flush_feedback(), rectify pq_*_replication_*() interface.Oleksandr Shulgin2015-10-237-109/+49
| | | | |
| * | | | Improve async replication example.Oleksandr Shulgin2015-10-231-8/+9
| | | | |
| * | | | Move the `decode` parameter to `start_replication()`.Oleksandr Shulgin2015-10-236-71/+72
| | | | | | | | | | | | | | | | | | | | | | | | | It makes more sense this way, because otherwise it must be passed to every call of `read_message()`.
| * | | | Use direct call to consume() callable in pq_copy_both()Oleksandr Shulgin2015-10-221-5/+3
| | | | |
| * | | | Actually add replication tests to the test suite.Oleksandr Shulgin2015-10-202-0/+3
| | | | |
| * | | | Fix cursor_init() declaration for use in replication_cursor_type.cOleksandr Shulgin2015-10-201-1/+2
| | | | |
| * | | | Fix send_time printf format in replmsg_repr().Oleksandr Shulgin2015-10-201-1/+1
| | | | |
| * | | | Add quick start to the replication doc, minor doc fixes.Oleksandr Shulgin2015-10-203-91/+161
| | | | |
| * | | | Properly subclass ReplicationCursor on C level.Oleksandr Shulgin2015-10-1914-349/+554
| | | | |
| * | | | Improve async replication test.Oleksandr Shulgin2015-10-192-35/+50
| | | | |
| * | | | Replace stop_replication with requirement for an exception.Oleksandr Shulgin2015-10-196-51/+51
| | | | |
| * | | | Fix PSYCOPG2_TEST_REPL_DSN handling.Oleksandr Shulgin2015-10-162-1/+21
| | | | |
| * | | | Fix async replication and test.Oleksandr Shulgin2015-10-155-69/+147
| | | | |
| * | | | Use quote_ident from psycopg2.extensionsOleksandr Shulgin2015-10-152-11/+21
| | | | |
| * | | | Merge branch 'master' into feature/replication-protocolOleksandr Shulgin2015-10-1510-19/+156
| |\ \ \ \
| * | | | | Add psyco_curs_datetime_initOleksandr Shulgin2015-10-143-3/+18
| | | | | |
| * | | | | Remove commented copy_both code in pqfetch.Oleksandr Shulgin2015-10-141-7/+2
| | | | | |
| * | | | | Fix select/timeout indication in async replication exampleOleksandr Shulgin2015-10-141-2/+2
| | | | | |
| * | | | | Clear repl_stop flag after the consume loop.Oleksandr Shulgin2015-10-141-0/+1
| | | | | |
| * | | | | Add checks on replication state, have to have a separate check for consume loop.Oleksandr Shulgin2015-10-142-11/+35
| | | | | |
| * | | | | Update stop_repl, require replication consumer to be a callable.Oleksandr Shulgin2015-10-144-29/+34
| | | | | |
| * | | | | Fix stop_replication: always raise outside the loop.Oleksandr Shulgin2015-10-142-2/+14
| | | | | |
| * | | | | Fix ReplicationTest: no NotSupportedError now.Oleksandr Shulgin2015-10-142-8/+14
| | | | | |
| * | | | | Remove IDENTIFY_SYSTEM wrapper method (it can't work with async anyway).Oleksandr Shulgin2015-10-132-18/+1
| | | | | |
| * | | | | Fix create_replication_slot doc signatureOleksandr Shulgin2015-10-131-1/+1
| | | | | |
| * | | | | Rework replication connection/cursor classesOleksandr Shulgin2015-10-018-243/+369
| | | | | |
| * | | | | Use parse_dsn in ReplicationConnectionBaseOleksandr Shulgin2015-10-011-15/+10
| | | | | |
| * | | | | Update replication connection/cursor interface and docs.Oleksandr Shulgin2015-10-012-71/+151
| | | | | |
| * | | | | Cleanup start replication wrt. slot type a bit.Oleksandr Shulgin2015-10-013-34/+32
| | | | | |
| * | | | | Remove typedef for uint32, include internal/c.hOleksandr Shulgin2015-10-011-2/+2
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into replOleksandr Shulgin2015-10-0110-14/+223
| |\ \ \ \ \
| * | | | | | Fix use of PQconsumeInput() in pq_read_replication_message()Oleksandr Shulgin2015-07-071-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libpq's PQconsumeInput() returns 0 in case of an error only, but we need to know if it was able to actually read something. Work around this by setting an internal flag before retry.
| * | | | | | Fix missing GC flag in ReplicationMessage typeOleksandr Shulgin2015-07-031-3/+11
| | | | | | |
| * | | | | | Fix missing free in replmsg_deallocOleksandr Shulgin2015-07-031-0/+4
| | | | | | |
| * | | | | | Check return value of PQsocketOleksandr Shulgin2015-07-021-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When connection is closed by the server, we might get -1 there.
| * | | | | | Fix PQconsumeInput usage.Oleksandr Shulgin2015-07-021-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only call when no data is available in the internal buffer.
| * | | | | | Update docs on ReplicationCursorOleksandr Shulgin2015-07-011-57/+60
| | | | | | |
| * | | | | | Comment on special handling of PGRES_COPY_BOTHOleksandr Shulgin2015-06-301-0/+4
| | | | | | |
| * | | | | | Update docs for Replication protocolOleksandr Shulgin2015-06-301-34/+165
| | | | | | |
| * | | | | | Merge remote-tracking branch 'zalando/feature/replication-protocol' into ↵Oleksandr Shulgin2015-06-3023-49/+304
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | feature/replication-protocol
| | * \ \ \ \ \ Merge branch 'master' into feature/replication-message-objectOleksandr Shulgin2015-06-3023-49/+304
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/extensions.py
| * | | | | | | | Rework replication protocolOleksandr Shulgin2015-06-306-236/+355
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | Refer cursor from ReplicationMessage object. At the same time, for the sync ↵Oleksandr Shulgin2015-06-115-30/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use LSN instead of msg reference in cursor.
| * | | | | | | Expose ReplicationMessage type in extrasOleksandr Shulgin2015-06-113-3/+5
| | | | | | | |
| * | | | | | | Add handling of send_time field in replmsgOleksandr Shulgin2015-06-106-14/+62
| | | | | | | |
| * | | | | | | Fix logical decoding plugin options adaptation on python3Oleksandr Shulgin2015-06-101-1/+1
| | | | | | | |
| * | | | | | | Add ReplicationMessage objectOleksandr Shulgin2015-06-0510-12/+295
| | | | | | | |