summaryrefslogtreecommitdiff
path: root/doc/src/usage.rst
Commit message (Collapse)AuthorAgeFilesLines
* fix typo in Usage.html page in documentationHEADmasterAmirsoroush2023-04-231-1/+1
|
* docs: drop use of print statement, use the print() function insteadDaniele Varrazzo2023-04-171-5/+5
| | | | Close #1556
* Fix typo in large object usage documentationWill Thompson2021-11-211-1/+1
|
* Add docs anchor to reach the 'with' statement from psycopg3 docsDaniele Varrazzo2021-07-141-0/+2
|
* Use datetime.timezone as default tzinfo_factory.Daniele Varrazzo2021-06-151-7/+9
|
* Drop support for mx.DateTime objectsDaniele Varrazzo2021-06-141-3/+1
| | | | They are Python 2 only.
* Handle correctly timestamps with fractions of minute in the timezone offsetDaniele Varrazzo2021-06-141-10/+18
| | | | Close #1272.
* 'with' starts a transaction even on autocommit connectionsDaniele Varrazzo2021-05-241-0/+3
| | | | Close #941
* Minor spelling and grammar corrections for 195b254Daniel Fortunov2020-09-061-3/+3
|
* Improve wording around transactions behaviour closing connectionsDaniele Varrazzo2020-09-051-4/+8
| | | | | | | The transaction is not rolled back by the connection, rather discarded by the server. Close #1135.
* Fix typoFrancisco Couzo2020-05-071-1/+1
|
* Mention CALL on stored procedures using transaction in autocommitDaniele Varrazzo2020-05-051-1/+4
| | | | | Close #1072 - I prefer to mention them where there is a discussion of the feature rather than in the method or const values section.
* 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.
* Add time type conversion info to docsAndrew Rabert2019-03-241-0/+23
|
* Added documentation for BYTES casterregister-bytesDaniele Varrazzo2019-01-181-1/+17
|
* Merge branch 'master' into httpsDaniele Varrazzo2018-10-101-0/+21
|\
| * Fix RST markupAlan D Moore2018-10-081-1/+1
| |
| * Added note about backslashes and LIKEAlan D Moore2018-10-081-0/+21
| | | | | | | | | | Added note about the use of LIKE with strings containing backslashes. Addresses concern in issue #785.
* | Prefer https:// URLs when availableJon Dufresne2018-09-221-18/+18
|/
* Drop long deprecated function register_tstz_w_secs()Jon Dufresne2017-12-101-2/+1
| | | | | | | | | | Deprecated in commit b263fbf274f9085a1bddca018ed8a50d37023fc7 on 2010-01-13. The deprecation warning was first released in version 2.2.2. The function used to register an alternate type caster for TIMESTAMP WITH TIME ZONE to deal with historical time zones with seconds in the UTC offset. These are now correctly handled by the default type caster, so currently the function doesn't do anything.
* Trim trailing whitespace from all files throughout projectJon Dufresne2017-12-011-1/+0
| | | | | | Many editors automatically trim whitespace on save. By trimming all files in one go, makes future diffs cleaner without extraneous whitespace changes.
* Documentation tweaked to omit Python 2.6 distinctionsDaniele Varrazzo2017-11-281-8/+6
|
* Further docs cleanupDaniele Varrazzo2017-11-061-16/+28
| | | | | | Recent Sphinx versions seem overly aggressive in autodetecting python, or I just didn't notice the errors, so be explicit in what language to use with code examples.
* Parameters passing docs improvedDaniele Varrazzo2017-11-061-18/+35
| | | | | | | | | | | | | Every point has an example and all the example show wrong/correct. Nice rhythm. Among the improvements, added point saying explicitly "thou shall not quote placeholders". Quoted placeholders will just fail except in the most contrived cases (a statement raising an exception with all the strings except with the attack ones...), and an example in the following section explicitly notes "no quotes", but apparenty someone still thinks this is not documented enough? (see issue #611) so let's just write it plain and clear into the list of commandments.
* typo山楂片2017-06-121-1/+1
| | | s/fromat/format/g
* Dropped reference to "isolation level autocommit" in docsDaniele Varrazzo2017-02-241-2/+2
|
* Added documentation about the changes in transaction controlDaniele Varrazzo2017-02-041-2/+1
|
* More doc love for the sql moduleDaniele Varrazzo2017-01-011-3/+4
|
* conn->codec rename to pyencDaniele Varrazzo2016-12-261-1/+1
|
* Added ipaddress objects conversionDaniele Varrazzo2016-10-111-1/+4
| | | | Close #387
* Wordsmithing on COPY commandsDaniele Varrazzo2016-07-011-1/+9
| | | | Address somehow issue #397.
* Change "non desiderable" to "undesirable" in docsPete Hollobon2015-06-021-1/+1
| | | | "desiderable" is considered obsolete
* Improve docs about connection's with only closing the transactionDaniele Varrazzo2015-05-031-3/+18
|
* Document that LO64 is only available on Py 64 buildsDaniele Varrazzo2015-02-081-5/+7
|
* Merge branch 'timetz'Daniele Varrazzo2014-12-251-2/+3
|\
| * timetz adaptation documentedDaniele Varrazzo2014-12-251-2/+3
| |
* | Added documentation about the lo64 supportDaniele Varrazzo2014-12-251-0/+12
|/
* In 2010 I couldn't speak EnglishDaniele Varrazzo2014-09-161-11/+13
|
* Use bytestrings in infinite dates adapter exampleDaniele Varrazzo2013-10-211-2/+2
| | | | Returning strings would result in unclear tracebacks on Py3 (see ticket #163).
* Document that using %, (, ) in the placeholder name is not supportedDaniele Varrazzo2013-10-161-1/+2
|
* Fixed doc index entry for infinite datesDaniele Varrazzo2013-06-231-1/+1
|
* Added doc example to convert date.max to infinityDaniele Varrazzo2013-06-181-0/+35
| | | | See issue #163.
* A few docs fixes to the usage pageDaniele Varrazzo2013-05-011-6/+6
|
* Fix multiple misspellingsPiotr Kasprzyk2013-04-261-1/+1
|
* Added summary data types conversion table to the docsDaniele Varrazzo2013-03-181-166/+269
| | | | | It allows looking at a glance both basic and extended type casters, with plenty of links to the detailed explanations.
* Fixed interactive sessions docs examplesDaniele Varrazzo2013-01-091-2/+2
|
* Added documentation for the with statementDaniele Varrazzo2012-12-031-0/+24
|
* Fixed a couple of terms in the docsDaniele Varrazzo2012-11-121-2/+2
| | | | After Pierre-Louis Bonicoli's suggestions in ticket #138.
* Added install section to the manualDaniele Varrazzo2012-10-071-0/+2
|
* Fixed note on rollback on close in the docDaniele Varrazzo2012-09-181-1/+1
| | | | | It's not like we call "rollback()": we close the connection and the backend rolls back on its own. It may have differences, e.g. conn poolers.