Daniele Varrazzo
0aa7e21f91
Added note adivising against depending on the -wheels package
2018-05-23 21:43:48 +01:00
Daniele Varrazzo
9e4f89a2a1
encrypt_password docs moved to extension module and updated
2018-05-20 20:13:04 +01:00
Daniele Varrazzo
0161d54dbb
Merge branch 'master' into encrypt-pass
2018-05-20 17:57:34 +01:00
Jon Dufresne
9ceffa1cc6
Update all pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-05-20 17:22:37 +01:00
Daniele Varrazzo
10caf1bd74
Command to upload docs on pythonhosted dropped altogether
2018-05-20 17:21:26 +01:00
Daniele Varrazzo
a110d7dd70
Intersphinx urls to generate Python links updated
...
Previous urls warn about a redirect, so they are probably to go.
2018-05-20 17:21:26 +01:00
Daniele Varrazzo
3f0a7f9af4
Added license to the docs
...
Includes other docs improvements, such as the ones proposed in #711 .
2018-05-20 17:03:08 +01:00
Ashesh Vashi
1bec2bdc43
Merge branch 'master' into master
2018-05-08 15:17:59 +05:30
Daniele Varrazzo
df952c149d
Fixed pip invocation example to skip binary packages
...
Close #673
2018-02-09 16:12:29 +00:00
Daniele Varrazzo
5b69adf797
Document the psycopg2-binary package
2018-01-29 03:23:59 +00:00
Daniele Varrazzo
8decf34ad7
Dropped warning about unsafe cursor names
...
It was long made secure
2018-01-25 22:00:40 +00:00
Daniele Varrazzo
ddef2e30cd
'key' docs in getconn() improved
...
Fix #569 .
2018-01-11 00:14:36 +00:00
Daniele Varrazzo
04f1f06b9f
Fixed stitch_text on Python 2
2018-01-10 22:49:00 +00:00
Jon Dufresne
389f6c08d9
Avoid installing tests to site-packages
...
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.
2017-12-10 10:55:58 -08:00
Jon Dufresne
9de46e416e
Use print() function instead of print statement throughout project
...
Forward compatible with newer Pythons.
2017-12-10 10:51:07 -08:00
Jon Dufresne
19b1efd629
Drop long deprecated function register_tstz_w_secs()
...
Deprecated in commit b263fbf274
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.
2017-12-10 07:57:11 -08:00
Daniele Varrazzo
2218e73c28
Merge branch 'master' into ws
2017-12-02 14:47:29 +00:00
Jon Dufresne
e335d6d223
Trim trailing whitespace from all files throughout project
...
Many editors automatically trim whitespace on save. By trimming all
files in one go, makes future diffs cleaner without extraneous
whitespace changes.
2017-12-01 21:42:14 -08:00
Jon Dufresne
f5703dc3e5
Use builtin function next() throughout project
...
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
2017-12-01 19:57:37 -08:00
Daniele Varrazzo
a0229cff82
Documentation tweaked to omit Python 2.6 distinctions
2017-11-28 16:11:06 +00:00
Hugo
c2d082e896
Drop support for EOL Python 3.0-3.3
2017-11-28 16:06:55 +00:00
Hugo
b69457ccdf
Update to Exception as e, print()
2017-11-28 16:03:23 +00:00
Hugo
ffcc65d4f0
Drop support for EOL Python 2.6
2017-11-28 16:02:12 +00:00
Jon Dufresne
c1d3948be9
Update documentation to reflect JSON import behavior
...
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
d58844e548
, but was missed.
2017-11-28 06:38:44 -08:00
Jon Dufresne
05c28cce78
Remove workarounds for namedtuple on Python <= 2.5
...
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.
2017-11-26 13:55:30 -08:00
Daniele Varrazzo
d88d8f9619
Added PostgreSQL 10 in the list of supported servers
2017-11-06 18:38:22 +00:00
Daniele Varrazzo
9614e7241b
Further docs cleanup
...
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.
2017-11-06 18:34:23 +00:00
Daniele Varrazzo
4f1505857b
Parameters passing docs improved
...
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.
2017-11-06 17:31:35 +00:00
Daniele Varrazzo
dfee199351
Dropped suggestion for --no-binary :all: to skip wheels
...
:all: applies to the entire file. --no-binary psycopg2 is the solution.
See issue #543
2017-10-27 12:34:00 +01:00
Daniele Varrazzo
f1461d2d7e
Parse PG 10 error codes from final version
2017-10-19 02:28:52 +01:00
Daniele Varrazzo
e7587caee3
Dropped doc building warning
...
doctests have sure completely rotten however.
2017-10-18 21:57:17 +01:00
Daniele Varrazzo
4d68f6e414
Sphinx version do build docs updated to 1.6
2017-10-18 21:56:48 +01:00
Dmitry Shachnev
1ccb61fe18
Make dbapi_extension.py compatible with Sphinx 1.6
...
In Sphinx commit 1a821b89e9952fc2, the deprecated make_admonition()
function was removed. This commit updates the code to use the modern
API instead.
2017-10-12 13:10:41 +03:00
Ashesh Vashi
6e0edf7779
Merge remote-tracking branch 'psycopg2/master'
2017-09-11 18:26:34 +05:30
Daniele Varrazzo
22c7114168
Disable uploading docs on pythonhosted
...
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/
2017-08-23 13:42:49 +01:00
Daniele Varrazzo
2c836a2935
Fixed typo (found on stackoverflow... gh)
2017-07-27 12:10:11 +01:00
Ashesh Vashi
cfb0937605
Added support for preparing the encrypted password of a PostgreSQL
...
password using the libpq functions - 'PQencryptPasswordConn', and
'PQencryptPassword'.
2017-07-17 10:32:59 +05:30
Daniele Varrazzo
1a97445471
Accept Composable in start_replication_expert()
...
Close #554
2017-06-17 03:30:44 +01:00
Sebastian Bank
30af82ef2f
Document that executemany() is not logged with LoggingConnection
2017-06-15 23:27:28 +01:00
Daniele Varrazzo
9b4de93bdc
Document incompatibility between wheel package and ssl module
...
Close #543 .
2017-06-15 22:46:53 +01:00
山楂片
799c5aaf43
typo
...
s/fromat/format/g
2017-06-12 11:25:22 +01:00
Daniele Varrazzo
256910f8ff
Updated docs about versions supported in errcodes
2017-06-05 12:34:17 +01:00
Daniele Varrazzo
165449c724
Added doc link to replication commands
2017-05-10 01:55:01 +01:00
Daniele Varrazzo
ee9948fa86
Expose *DATETIMETZ* objects in the extensions module
2017-03-22 03:42:12 +00:00
Daniele Varrazzo
31f91e033f
Dropped info that the features requires libpq >= 9.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.
2017-03-20 19:08:18 +00:00
Daniele Varrazzo
f9b36433fb
Merge branch 'fix-528'
2017-03-16 04:24:17 +00:00
Daniele Varrazzo
9f160fd820
Obscure the password on url dsn too
...
Note that we don't leak anymore the password length.
Fix #528
2017-03-16 03:53:40 +00:00
Daniele Varrazzo
c7f5690426
Added docs about the usability of sql objects with copy_expert()
...
See issue #529 .
2017-03-16 00:55:20 +00:00
Daniele Varrazzo
ef9f9f5fff
Improved notes to release psycopg packages
2017-03-13 16:50:57 +00:00
Daniele Varrazzo
5730aa9a40
Less stuff in the readme, more in the docs
2017-03-13 12:13:47 +00:00