summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cffi-in-docs'Daniele Varrazzo2020-03-081-2/+9
|\
| * Better descriptions of the non-C porting in install docsDaniele Varrazzo2020-03-081-5/+9
| |
| * Mention the CFFI port to Psycopg2 in documentation.Omer Katz2019-10-231-0/+3
| | | | | | | | | | The CFFI port works much better on PyPy and has been used in production before. The documentation mentioned the Ctypes port but not the CFFI port. I added it to the documentation.
* | Dropped customized doc templateDaniele Varrazzo2020-01-272-14/+3
| | | | | | | | | | | | | | It was meant to be used only by the website, not for the doc shipped with the package. [skip ci]
* | Upload on https nowDaniele Varrazzo2020-01-271-1/+1
| |
* | Trigger docs rebuild on pushgoodbye-initdDaniele Varrazzo2020-01-251-4/+0
| |
* | Added sql module basic usage section and classes hierarchyDaniele Varrazzo2020-01-201-4/+47
| |
* | Fixed dependencies in docs buildDaniele Varrazzo2020-01-191-4/+7
| | | | | | | | Building without having built the library failed
* | Use a responsive theme for docsDaniele Varrazzo2020-01-186-8/+134
| | | | | | | | With a pleasant ottanio background.
* | Hide the "made with sphinx" doc footerDaniele Varrazzo2020-01-181-44/+59
| |
* | Copyright bumped to 2020Daniele Varrazzo2020-01-171-1/+1
| |
* | Copyright 2020 in the docsDaniele Varrazzo2020-01-041-1/+1
| |
* | Website on httpsDaniele Varrazzo2019-12-313-3/+3
| |
* | Changed docs to point to psycopg.orgDaniele Varrazzo2019-12-304-5/+6
| |
* | Document a release procedure not using initd serverDaniele Varrazzo2019-12-301-18/+10
| |
* | Blacklist docutils 0.15 to build docsDaniele Varrazzo2019-12-291-0/+4
|/ | | | It crashes because of https://sourceforge.net/p/docutils/bugs/353/
* Fix typo 'againts'Jann Kleen2019-10-191-1/+1
|
* Mention that with PgBouncer get_backend_pid() is not updatedDaniele Varrazzo2019-10-191-3/+5
| | | | Close #956
* Added UltraJSON exampleDaniele Varrazzo2019-10-191-0/+7
| | | | Close #972
* Merge branch 'pg12'Daniele Varrazzo2019-10-194-4/+6
|\
| * Test PG 11 and 12 on travisDaniele Varrazzo2019-10-191-1/+1
| |
| * Added Postgres 12 errorsDaniele Varrazzo2019-10-192-2/+4
| |
| * Use travis test config variable 0/1 instead of blank stringsDaniele Varrazzo2019-10-191-1/+1
| | | | | | | | | | Travis web interface doesn't allow anymore to set an empty string as variable value.
* | Add Python 3.8 to the test matrixJon Dufresne2019-10-181-1/+1
|/ | | | | | | | | | | | | | | Python 3.8 was released on October 14th, 2019. - Added 'Programming Language :: Python :: 3.8' trove classifier. - Added 'py38' to the tox test matrix. - Added 'python: 3.8' to the Travis test matrix. - Removed 'dist: xenial' from Travis configuration; it is now the default. - Removed 'dist: trusty' from Travis configuration; it is not longer necessary. - Removed 'sudo' from Travis configuration; it is deprecated. https://docs.python.org/3.8/whatsnew/3.8.html
* Fix typo: "the the"Jon Dufresne2019-06-212-7/+7
|
* typo: remove 'a'Kunal Marwaha2019-06-191-1/+1
|
* Added entry about how to ask questionsDaniele Varrazzo2019-06-102-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 docsAlexander Kukushkin2019-05-061-0/+14
|
* Change the default value of keepalive_interval parameter to NoneAlexander Kukushkin2019-05-061-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 feedbackAlexander Kukushkin2019-05-062-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.8Daniele Varrazzo2019-04-142-12/+26
|
* Highlight in docs that the context manager doesn't close the connectionDaniele Varrazzo2019-04-071-3/+13
| | | | | Code as in #889 is not robust, but the behaviour is actually counter-intuitive.
* Fixed replication cursor docs warning indentation levelDaniele Varrazzo2019-04-011-11/+9
|
* Replication objects docs header level bumped upDaniele Varrazzo2019-04-011-2/+2
| | | | Now it appears in the ToCs.
* Fixed notice about new wal_end attribute being on the cursorDaniele Varrazzo2019-04-011-2/+2
|
* Added news entry about ReplicationMessage.wal_endDaniele Varrazzo2019-03-301-0/+2
|
* Address code review feedbackgrunskis-bonial2019-03-301-1/+14
|
* Store WAL end pointer in the replication cursorMartins Grunskis2019-03-301-1/+7
|
* Add time type conversion info to docsAndrew Rabert2019-03-241-0/+23
|
* Convert `while 1:` statements to `while True:`Jon Dufresne2019-03-131-4/+4
| | | | A slightly more readable and modern syntax.
* Better link from docs to "json and jsonb" data typesDaniele Varrazzo2019-03-051-6/+7
|
* Added ConnectionInfo.dsn_parameters attributeinfo-dsn-paramsDaniele Varrazzo2019-02-172-23/+35
|
* Don't use versions such as 2.8.0 in docsDaniele Varrazzo2019-02-173-11/+11
| | | | Use 2.8.
* Copyright year updatedDaniele Varrazzo2019-02-171-1/+1
| | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I"
* Allow building docs with Python 3Daniele Varrazzo2019-02-171-3/+5
| | | | | Use a .pth file to simplify finding the just-built psycopg package into the docs building env.
* Fixed title level of sqlsate errors table in docsDaniele Varrazzo2019-02-171-1/+1
|
* Dropped text docs generationDaniele Varrazzo2019-02-173-76/+4
|
* Added table of sqlstate exceptions in the docsDaniele Varrazzo2019-02-174-7/+83
| | | | | 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-ptrsDaniele Varrazzo2019-02-162-1/+35
|
* Improvements to errors module docserrors-module-cDaniele Varrazzo2019-02-112-7/+17
|