| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typo: "the the" | Jon Dufresne | 2019-06-21 | 2 | -7/+7 |
| | | |||||
| * | typo: remove 'a' | Kunal Marwaha | 2019-06-19 | 1 | -1/+1 |
| | | |||||
| * | Added entry about how to ask questions | Daniele Varrazzo | 2019-06-10 | 2 | -2/+28 |
| | | | | | | | | | Also fixed mailing list link (although it doesn't seem there's a link to a subscription page anymore, you have to go through the community portal). Close #930. | ||||
| * | Improve docs | Alexander Kukushkin | 2019-05-06 | 1 | -0/+14 |
| | | |||||
| * | Change the default value of keepalive_interval parameter to None | Alexander Kukushkin | 2019-05-06 | 1 | -1/+4 |
| | | | | | | The previous default value was 10 seconds, what might cause silent overwrite of the *status_interval* specified in the `start_replication()` | ||||
| * | Smart replication feedback | Alexander Kukushkin | 2019-05-06 | 2 | -39/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes psycopg2 responsible for sending the status update (feedback) messages to the server regardless of whether a synchronous or asynchronous connection is used. Feedback is sent every *status_update* (default value is 10) seconds, which could be configured by passing a corresponding parameter to the `start_replication()` or `start_replication_expert()` methods. The actual feedback message is sent by the `pq_read_replication_message()` when the *status_update* timeout is reached. The default behavior of the `send_feedback()` method is changed. It doesn't send a feedback message on every call anymore but just updates internal structures. There is still a way to *force* sending a message if *force* or *reply* parameters are set. The new approach has certain advantages: 1. The client can simply call the `send_feedback()` for every processed message and the library will take care of not overwhelming the server. Actually, in the synchronous mode it is even mandatory to confirm every processed message. 2. The library tracks internally the pointer of the last received message which is not keepalive. If the client confirmed the last message and after that server sends only keepalives with increasing *wal_end*, the library can safely move forward *flush* position to the *wal_end* and later automatically report it to the server. Reporting of the *wal_end* received from keepalive messages is very important. Not doing so casing: 1. Excessive disk usage, because the replication slot prevents from WAL being cleaned up. 2. The smart and fast shutdown of the server could last indefinitely because walsender waits until the client report *flush* position equal to the *wal_end*. This implementation is only extending the existing API and therefore should not break any of the existing code. | ||||
| * | Added FAQ entry about the change in binary packages in 2.8 | Daniele Varrazzo | 2019-04-14 | 2 | -12/+26 |
| | | |||||
| * | Highlight in docs that the context manager doesn't close the connection | Daniele Varrazzo | 2019-04-07 | 1 | -3/+13 |
| | | | | | | Code as in #889 is not robust, but the behaviour is actually counter-intuitive. | ||||
| * | Fixed replication cursor docs warning indentation level | Daniele Varrazzo | 2019-04-01 | 1 | -11/+9 |
| | | |||||
| * | Replication objects docs header level bumped up | Daniele Varrazzo | 2019-04-01 | 1 | -2/+2 |
| | | | | | Now it appears in the ToCs. | ||||
| * | Fixed notice about new wal_end attribute being on the cursor | Daniele Varrazzo | 2019-04-01 | 1 | -2/+2 |
| | | |||||
| * | Added news entry about ReplicationMessage.wal_end | Daniele Varrazzo | 2019-03-30 | 1 | -0/+2 |
| | | |||||
| * | Address code review feedback | grunskis-bonial | 2019-03-30 | 1 | -1/+14 |
| | | |||||
| * | Store WAL end pointer in the replication cursor | Martins Grunskis | 2019-03-30 | 1 | -1/+7 |
| | | |||||
| * | Add time type conversion info to docs | Andrew Rabert | 2019-03-24 | 1 | -0/+23 |
| | | |||||
| * | Convert `while 1:` statements to `while True:` | Jon Dufresne | 2019-03-13 | 1 | -4/+4 |
| | | | | | A slightly more readable and modern syntax. | ||||
| * | Better link from docs to "json and jsonb" data types | Daniele Varrazzo | 2019-03-05 | 1 | -6/+7 |
| | | |||||
| * | Added ConnectionInfo.dsn_parameters attributeinfo-dsn-params | Daniele Varrazzo | 2019-02-17 | 2 | -23/+35 |
| | | |||||
| * | Don't use versions such as 2.8.0 in docs | Daniele Varrazzo | 2019-02-17 | 3 | -11/+11 |
| | | | | | Use 2.8. | ||||
| * | Copyright year updated | Daniele Varrazzo | 2019-02-17 | 1 | -1/+1 |
| | | | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I" | ||||
| * | Fixed title level of sqlsate errors table in docs | Daniele Varrazzo | 2019-02-17 | 1 | -1/+1 |
| | | |||||
| * | Dropped text docs generation | Daniele Varrazzo | 2019-02-17 | 1 | -61/+0 |
| | | |||||
| * | Added table of sqlstate exceptions in the docs | Daniele Varrazzo | 2019-02-17 | 2 | -4/+72 |
| | | | | | | Note that the column-spanning cells break text docs. I don't think anybody cares about them, so going to drop them. | ||||
| * | Added docs about pgconn_ptr, pgresult_ptrlibpq-ptrs | Daniele Varrazzo | 2019-02-16 | 2 | -1/+35 |
| | | |||||
| * | Improvements to errors module docserrors-module-c | Daniele Varrazzo | 2019-02-11 | 2 | -7/+17 |
| | | |||||
| * | Dropped PSYCOPG_DISPLAY_SIZE build parameter | Daniele Varrazzo | 2019-01-25 | 1 | -4/+6 |
| | | | | | | Big and complex _pq_fetch_tuples simplified by moving per-column calculation to a separate function. | ||||
| * | Added documentation for BYTES casterregister-bytes | Daniele Varrazzo | 2019-01-18 | 3 | -3/+37 |
| | | |||||
| * | Merge pull request #828 from wbolster/patch-1 | Daniele Varrazzo | 2019-01-08 | 1 | -1/+1 |
| |\ | | | | | mention postgresql 11 in install docs | ||||
| | * | mention postgresql 11 in install docs | wouter bolsterlee | 2018-12-07 | 1 | -1/+1 |
| | | | |||||
| * | | Merge remote-tracking branch ↵ | Daniele Varrazzo | 2018-12-27 | 1 | -0/+2 |
| |\ \ | |/ |/| | | | 'eternalflow/execute-values-returning-clause-support' | ||||
| | * | Docs wordsmith for execute_values() fetch param | Daniele Varrazzo | 2018-12-27 | 1 | -1/+1 |
| | | | |||||
| | * | add versionchanged to docs | Ivan Kotelnikov | 2018-11-24 | 1 | -0/+2 |
| | | | |||||
| * | | Dropped deprecated PersistentConnectionPool | Jon Dufresne | 2018-12-04 | 1 | -8/+0 |
| |/ | | | | | | | | | This class was deprecated in 27cd6c4880161a715b1952be64cc96ebc968fa2b (Dec 2, 2012), which was first included in release 2.5. Enough time has passed for library uses to find an alternative solution. This class was untested. | ||||
| * | Merge branch 'master' into feature-expose-pgconn | Federico Di Gregorio | 2018-11-07 | 14 | -221/+478 |
| |\ | |||||
| | * | Merge branch 'connection-info' | Daniele Varrazzo | 2018-10-15 | 3 | -105/+166 |
| | |\ | |||||
| | | * | Use the connection.info properties instead of the legacy methodsconnection-info | Daniele Varrazzo | 2018-10-13 | 2 | -4/+5 |
| | | | | |||||
| | | * | Added ConnectionInfo.parameter_status() | Daniele Varrazzo | 2018-10-13 | 2 | -39/+46 |
| | | | | |||||
| | | * | Added ConnectionInfo.ssl_attribute() | Daniele Varrazzo | 2018-10-13 | 1 | -0/+2 |
| | | | | |||||
| | | * | Added all the missing ConnectionInfo attributes | Daniele Varrazzo | 2018-10-13 | 1 | -0/+5 |
| | | | | |||||
| | | * | Added missing class signatures in the docs | Daniele Varrazzo | 2018-10-13 | 1 | -2/+2 |
| | | | | |||||
| | | * | Added ConnectionInfo.error_message | Daniele Varrazzo | 2018-10-13 | 1 | -0/+1 |
| | | | | |||||
| | | * | Added other members to the ConnectionInfo class | Daniele Varrazzo | 2018-10-12 | 2 | -50/+87 |
| | | | | | | | | | | | | | | | | Starting deprecating softly some of the methods bloating the connection class. | ||||
| | | * | Added several ConnectionInfo attributes | Daniele Varrazzo | 2018-10-12 | 1 | -0/+6 |
| | | | | |||||
| | | * | Adding ConnectionInfo object documentation | Daniele Varrazzo | 2018-10-12 | 2 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | I'm still fought whether docs should be in the C module or in the .rst. I'd prefer the first because DRY, but writing multiline strings in C really sucks. | ||||
| | * | | Merge branch 'master' into errors-moduleerrors-module | Daniele Varrazzo | 2018-10-15 | 13 | -135/+264 |
| | |\ \ | |||||
| | | * | | errorcodes map update to PostgreSQL 11 | Daniele Varrazzo | 2018-10-14 | 1 | -1/+1 |
| | | |/ | |||||
| | | * | Added docs for the Column object | Daniele Varrazzo | 2018-10-11 | 2 | -35/+112 |
| | | | | |||||
| | | * | Another url changed to https | Daniele Varrazzo | 2018-10-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | Added after this MR. | ||||
| | | * | Merge branch 'master' into https | Daniele Varrazzo | 2018-10-10 | 4 | -1/+54 |
| | | |\ | |||||
| | | | * | Merge branch 'conn-get-host' | Daniele Varrazzo | 2018-10-10 | 1 | -0/+18 |
| | | | |\ | |||||
