summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed pip invocation example to skip binary packagesDaniele Varrazzo2018-02-091-2/+2
| | | | Close #673
* Document the psycopg2-binary packageDaniele Varrazzo2018-01-291-98/+100
|
* Dropped warning about unsafe cursor namesDaniele Varrazzo2018-01-251-5/+0
| | | | It was long made secure
* 'key' docs in getconn() improvedDaniele Varrazzo2018-01-111-1/+6
| | | | Fix #569.
* Fixed stitch_text on Python 2Daniele Varrazzo2018-01-101-4/+6
|
* Avoid installing tests to site-packagesJon Dufresne2017-12-101-2/+2
| | | | | | | | For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package.
* Use print() function instead of print statement throughout projectJon Dufresne2017-12-101-1/+1
| | | | Forward compatible with newer Pythons.
* Drop long deprecated function register_tstz_w_secs()Jon Dufresne2017-12-102-16/+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.
* Merge branch 'master' into wsDaniele Varrazzo2017-12-021-4/+1
|\
| * Use builtin function next() throughout projectJon Dufresne2017-12-011-4/+1
| | | | | | | | | | | | | | Available since Python 2.6. Use of .next() is deprecated and not supported in Python 3. Forward compatible with modern Python. https://docs.python.org/2/library/functions.html#next
* | Trim trailing whitespace from all files throughout projectJon Dufresne2017-12-0116-204/+195
|/ | | | | | 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
|
* Drop support for EOL Python 3.0-3.3Hugo2017-11-281-1/+1
|
* Update to Exception as e, print()Hugo2017-11-281-1/+1
|
* Drop support for EOL Python 2.6Hugo2017-11-281-1/+1
|
* Update documentation to reflect JSON import behaviorJon Dufresne2017-11-281-6/+2
| | | | | | | | The docs don't need to describe what will happen on Python versions before 2.6 as they are unsupported by psycopg2. Should have been included in commit d58844e5483483240f97537e9a77b4e79cea2ab3, but was missed.
* Remove workarounds for namedtuple on Python <= 2.5Jon Dufresne2017-11-261-14/+0
| | | | | | namedtuple is available on all Python versions supported by psycopg2. It was first introduced in Python 2.6. Can remove all workarounds and special documentation.
* Added PostgreSQL 10 in the list of supported serversDaniele Varrazzo2017-11-061-1/+1
|
* Further docs cleanupDaniele Varrazzo2017-11-065-20/+40
| | | | | | 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.
* Dropped suggestion for --no-binary :all: to skip wheelsDaniele Varrazzo2017-10-271-5/+22
| | | | | | :all: applies to the entire file. --no-binary psycopg2 is the solution. See issue #543
* Parse PG 10 error codes from final versionDaniele Varrazzo2017-10-191-1/+1
|
* Dropped doc building warningDaniele Varrazzo2017-10-181-1/+1
| | | | doctests have sure completely rotten however.
* Sphinx version do build docs updated to 1.6Daniele Varrazzo2017-10-181-2/+2
|
* Make dbapi_extension.py compatible with Sphinx 1.6Dmitry Shachnev2017-10-121-7/+6
| | | | | | In Sphinx commit 1a821b89e9952fc2, the deprecated make_admonition() function was removed. This commit updates the code to use the modern API instead.
* Disable uploading docs on pythonhostedDaniele Varrazzo2017-08-232-167/+1
| | | | | | | The service is deprecated in favour of RTD. There is also no more way to upload redirects there, so #581 cannot be fixed. Official docs are on http://initd.org/psycopg/docs/
* Fixed typo (found on stackoverflow... gh)Daniele Varrazzo2017-07-271-1/+1
|
* Accept Composable in start_replication_expert()Daniele Varrazzo2017-06-171-2/+7
| | | | Close #554
* Document that executemany() is not logged with LoggingConnectionSebastian Bank2017-06-151-0/+5
|
* Document incompatibility between wheel package and ssl moduleDaniele Varrazzo2017-06-151-3/+12
| | | | Close #543.
* typo山楂片2017-06-121-1/+1
| | | s/fromat/format/g
* Updated docs about versions supported in errcodesDaniele Varrazzo2017-06-051-1/+1
|
* Added doc link to replication commandsDaniele Varrazzo2017-05-101-2/+5
|
* Expose *DATETIMETZ* objects in the extensions moduleDaniele Varrazzo2017-03-221-0/+6
|
* Dropped info that the features requires libpq >= 9.0Daniele Varrazzo2017-03-201-2/+0
| | | | | | We are currently requiring libpq 9.1 at least, and the feature was released in 2.7, which could have never been compiled with previos libpq versions.
* Merge branch 'fix-528'Daniele Varrazzo2017-03-161-0/+3
|\
| * Obscure the password on url dsn tooDaniele Varrazzo2017-03-161-0/+3
| | | | | | | | | | | | Note that we don't leak anymore the password length. Fix #528
* | Added docs about the usability of sql objects with copy_expert()sql-copyDaniele Varrazzo2017-03-162-1/+9
|/ | | | See issue #529.
* Improved notes to release psycopg packagesDaniele Varrazzo2017-03-131-15/+45
|
* Less stuff in the readme, more in the docsDaniele Varrazzo2017-03-131-0/+7
|
* Report ticket 518 fixedDaniele Varrazzo2017-03-111-8/+11
| | | | | The fix is actually implemented in the openssl1 branch of https://github.com/psycopg/psycopg2-wheels
* correct minor grammatical issue with deprecation warningJon Nelson2017-03-031-1/+1
|
* Added install section to specify how to skip wheelsDaniele Varrazzo2017-03-031-7/+39
|
* Added docs about making a releaseDaniele Varrazzo2017-03-011-0/+74
| | | | | | Drop previous script which didn't include the CI-generated packages. [skip ci]
* Fixed doc typoDaniele Varrazzo2017-02-281-1/+1
| | | | Close #515
* Dropped reference to "isolation level autocommit" in docsDaniele Varrazzo2017-02-241-2/+2
|
* Document installation from wheel packagesDaniele Varrazzo2017-02-161-145/+77
|
* Added readonly and deferrable attributesDaniele Varrazzo2017-02-161-6/+29
|
* Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level()Daniele Varrazzo2017-02-161-8/+3
| | | | Legacy method is legacy.
* connection.isolation_level is now writableDaniele Varrazzo2017-02-161-16/+22
|