Diff
Modified: branches/5.0.x/docs/about.txt (959 => 960)
--- branches/5.0.x/docs/about.txt 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/about.txt 2019-01-04 17:49:21 UTC (rev 960)
@@ -36,7 +36,7 @@
D'Arcy ([email protected]) renamed it to PyGreSQL starting with
version 2.0 and serves as the "BDFL" of PyGreSQL.
-The current version PyGreSQL 5.0.6 needs PostgreSQL 9.0 to 9.6 or 10, and
+The current version PyGreSQL 5.0.7 needs PostgreSQL 9.0 to 9.6 or 10 or 11, and
Python 2.6, 2.7 or 3.3 to 3.7. If you need to support older PostgreSQL versions
or older Python 2.x versions, you can resort to the PyGreSQL 4.x versions that
still support them.
Modified: branches/5.0.x/docs/announce.rst (959 => 960)
--- branches/5.0.x/docs/announce.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/announce.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -3,12 +3,12 @@
======================
---------------------------------
-Release of PyGreSQL version 5.0.6
+Release of PyGreSQL version 5.0.7
---------------------------------
-Release 5.0.6 of PyGreSQL.
+Release 5.0.7 of PyGreSQL.
-It is available at: http://pygresql.org/files/PyGreSQL-5.0.6.tar.gz.
+It is available at: http://pygresql.org/files/PyGreSQL-5.0.7.tar.gz.
If you are running NetBSD, look in the packages directory under databases.
There is also a package in the FreeBSD ports collection.
@@ -25,7 +25,7 @@
- openSUSE
- Ubuntu
- Windows 7 and 10 with both MinGW and Visual Studio
- - PostgreSQL 9.0 to 9.6 and 10 (32 and 64bit)
+ - PostgreSQL 9.0 to 9.6 and 10 or 11 (32 and 64bit)
- Python 2.6, 2.7 and 3.3 to 3.7 (32 and 64bit)
| D'Arcy J.M. Cain
Modified: branches/5.0.x/docs/conf.py (959 => 960)
--- branches/5.0.x/docs/conf.py 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/conf.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -70,7 +70,7 @@
# The short X.Y version.
version = '5.0'
# The full version, including alpha/beta/rc tags.
-release = '5.0.6'
+release = '5.0.7'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Modified: branches/5.0.x/docs/contents/changelog.rst (959 => 960)
--- branches/5.0.x/docs/contents/changelog.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/changelog.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -3,6 +3,7 @@
Vesion 5.0.7 (2019-mm-dd)
-------------------------
+- This version officially supports the new PostgreSQL 11.
- Fixed a bug in parsing array subscript ranges (reported by Justin Pryzby).
Vesion 5.0.6 (2018-07-29)
Modified: branches/5.0.x/docs/contents/general.rst (959 => 960)
--- branches/5.0.x/docs/contents/general.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/general.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -15,7 +15,7 @@
.. seealso::
**DB-API 2.0** (Python Database API Specification v2.0)
- is a specification for connecting to databases (not only PostGreSQL)
+ is a specification for connecting to databases (not only PostgreSQL)
from Python that has been developed by the Python DB-SIG in 1999.
The authoritative programming information for the DB-API is :pep:`0249`.
Modified: branches/5.0.x/docs/contents/install.rst (959 => 960)
--- branches/5.0.x/docs/contents/install.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/install.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -11,7 +11,7 @@
``PATH`` environment variable.
The current version of PyGreSQL has been tested with Python versions
-2.6, 2.7 and 3.3 to 3.7, and PostGreSQL versions 9.0 to 9.6 and 10.
+2.6, 2.7 and 3.3 to 3.7, and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
PyGreSQL will be installed as three modules, a dynamic module called
_pg.pyd, and two pure Python wrapper modules called pg.py and pgdb.py.
Modified: branches/5.0.x/docs/contents/pg/adaptation.rst (959 => 960)
--- branches/5.0.x/docs/contents/pg/adaptation.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/pg/adaptation.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -363,7 +363,7 @@
True
However, calculating the intersection points between the two circles using the
-``#`` operator does not work (at least not as of PostgreSQL version 10).
+``#`` operator does not work (at least not as of PostgreSQL version 11).
So let's resort to SymPy to find out. To ease importing circles from
PostgreSQL to SymPy, we create and register the following typecast function::
Modified: branches/5.0.x/docs/contents/pg/connection.rst (959 => 960)
--- branches/5.0.x/docs/contents/pg/connection.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/pg/connection.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -76,7 +76,7 @@
.. method:: Connection.reset()
Reset the :mod:`pg` connection
-
+
:rtype: None
:raises TypeError: too many (any) arguments
:raises TypeError: invalid connection
@@ -101,7 +101,7 @@
.. method:: Connection.close()
Close the :mod:`pg` connection
-
+
:rtype: None
:raises TypeError: too many (any) arguments
@@ -352,7 +352,7 @@
Create a large object in the database
:param int mode: large object create mode
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad parameter type, or too many parameters
:raises pg.OperationalError: creation error
@@ -370,7 +370,7 @@
Create a large object in the database
:param int oid: OID of the existing large object
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad parameter type, or too many parameters
:raises ValueError: bad OID value (0 is invalid_oid)
@@ -386,7 +386,7 @@
Import a file to a large object
:param str name: the name of the file to be imported
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad argument type, or too many arguments
:raises pg.OperationalError: error during file import
Modified: branches/5.0.x/docs/contents/pg/module.rst (959 => 960)
--- branches/5.0.x/docs/contents/pg/module.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/pg/module.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -370,7 +370,7 @@
This function returns the decimal mark used by PyGreSQL to interpret
PostgreSQL monetary values when converting them to decimal numbers.
The default setting is ``'.'`` as a decimal point. This setting is not
-adapted automatically to the locale used by PostGreSQL, but you can use
+adapted automatically to the locale used by PostgreSQL, but you can use
:func:`set_decimal()` to set a different decimal mark manually. A return
value of ``None`` means monetary values are not interpreted as decimal
numbers, but returned as strings including the formatting and currency.
@@ -386,7 +386,7 @@
This function can be used to specify the decimal mark used by PyGreSQL
to interpret PostgreSQL monetary values. The default value is '.' as
a decimal point. This value is not adapted automatically to the locale
-used by PostGreSQL, so if you are dealing with a database set to a
+used by PostgreSQL, so if you are dealing with a database set to a
locale that uses a ``','`` instead of ``'.'`` as the decimal point,
then you need to call ``set_decimal(',')`` to have PyGreSQL interpret
monetary values correctly. If you don't want money values to be converted
Modified: branches/5.0.x/docs/contents/pgdb/introduction.rst (959 => 960)
--- branches/5.0.x/docs/contents/pgdb/introduction.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/contents/pgdb/introduction.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -8,7 +8,7 @@
The following part of the documentation covers only the newer :mod:`pgdb` API.
**DB-API 2.0** (Python Database API Specification v2.0)
-is a specification for connecting to databases (not only PostGreSQL)
+is a specification for connecting to databases (not only PostgreSQL)
from Python that has been developed by the Python DB-SIG in 1999.
The authoritative programming information for the DB-API is :pep:`0249`.
Modified: branches/5.0.x/docs/download/download.rst (959 => 960)
--- branches/5.0.x/docs/download/download.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/docs/download/download.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -17,12 +17,12 @@
An **openSUSE package** is available through their build service at
* https://software.opensuse.org/package/PyGreSQL?search_term=pygresql
A **Win32 installer** for various Python versions is available at
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.6.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.7.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.4.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.5.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.6.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py2.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py2.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.4.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.5.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.7.exe
Older PyGreSQL versions
-----------------------
Modified: branches/5.0.x/mktar (959 => 960)
--- branches/5.0.x/mktar 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/mktar 2019-01-04 17:49:21 UTC (rev 960)
@@ -1,6 +1,6 @@
#! /bin/sh
-VERSION=5.0.6
+VERSION=5.0.7
DISTDIR=/u/WEB/pyg/files
# some safety tests
Modified: branches/5.0.x/pg.py (959 => 960)
--- branches/5.0.x/pg.py 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/pg.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -1472,7 +1472,7 @@
return NotificationHandler(*args, **kw)
-# The actual PostGreSQL database connection interface:
+# The actual PostgreSQL database connection interface:
class DB:
"""Wrapper class for the _pg connection type."""
Modified: branches/5.0.x/setup.py (959 => 960)
--- branches/5.0.x/setup.py 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/setup.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -1,7 +1,7 @@
#! /usr/bin/python
# $Id$
-"""Setup script for PyGreSQL version 5.0.6
+"""Setup script for PyGreSQL version 5.0.7
PyGreSQL is an open-source Python module that interfaces to a
PostgreSQL database. It embeds the PostgreSQL query library to allow
@@ -33,7 +33,7 @@
"""
-version = '5.0.6'
+version = '5.0.7'
import sys
Modified: branches/5.0.x/tests/test_classic_connection.py (959 => 960)
--- branches/5.0.x/tests/test_classic_connection.py 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/tests/test_classic_connection.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -163,7 +163,7 @@
def testAttributeServerVersion(self):
server_version = self.connection.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 110000)
+ self.assertTrue(90000 <= server_version < 120000)
def testAttributeStatus(self):
status_ok = 1
Modified: branches/5.0.x/tests/test_classic_dbwrapper.py (959 => 960)
--- branches/5.0.x/tests/test_classic_dbwrapper.py 2019-01-04 17:20:28 UTC (rev 959)
+++ branches/5.0.x/tests/test_classic_dbwrapper.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -274,7 +274,7 @@
def testAttributeServerVersion(self):
server_version = self.db.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 110000)
+ self.assertTrue(90000 <= server_version < 120000)
self.assertEqual(server_version, self.db.db.server_version)
def testAttributeStatus(self):
Modified: trunk/docs/about.txt (959 => 960)
--- trunk/docs/about.txt 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/about.txt 2019-01-04 17:49:21 UTC (rev 960)
@@ -36,7 +36,7 @@
D'Arcy ([email protected]) renamed it to PyGreSQL starting with
version 2.0 and serves as the "BDFL" of PyGreSQL.
-The current version PyGreSQL 5.0.6 needs PostgreSQL 9.0 to 9.6 or 10, and
+The current version PyGreSQL 5.1 needs PostgreSQL 9.0 to 9.6 or 10 or 11, and
Python 2.6, 2.7 or 3.3 to 3.7. If you need to support older PostgreSQL versions
or older Python 2.x versions, you can resort to the PyGreSQL 4.x versions that
still support them.
Modified: trunk/docs/announce.rst (959 => 960)
--- trunk/docs/announce.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/announce.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -2,13 +2,13 @@
PyGreSQL Announcements
======================
----------------------------------
-Release of PyGreSQL version 5.0.6
----------------------------------
+-------------------------------
+Release of PyGreSQL version 5.1
+-------------------------------
-Release 5.0.6 of PyGreSQL.
+Release 5.1 of PyGreSQL.
-It is available at: http://pygresql.org/files/PyGreSQL-5.0.6.tar.gz.
+It is available at: http://pygresql.org/files/PyGreSQL-5.1.tar.gz.
If you are running NetBSD, look in the packages directory under databases.
There is also a package in the FreeBSD ports collection.
@@ -25,7 +25,7 @@
- openSUSE
- Ubuntu
- Windows 7 and 10 with both MinGW and Visual Studio
- - PostgreSQL 9.0 to 9.6 and 10 (32 and 64bit)
+ - PostgreSQL 9.0 to 9.6 and 10 or 11 (32 and 64bit)
- Python 2.6, 2.7 and 3.3 to 3.7 (32 and 64bit)
| D'Arcy J.M. Cain
Modified: trunk/docs/conf.py (959 => 960)
--- trunk/docs/conf.py 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/conf.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -68,9 +68,9 @@
# built documents.
#
# The short X.Y version.
-version = '5.0'
+version = '5.1'
# The full version, including alpha/beta/rc tags.
-release = '5.0.6'
+release = '5.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Modified: trunk/docs/contents/changelog.rst (959 => 960)
--- trunk/docs/contents/changelog.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/changelog.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -1,12 +1,13 @@
ChangeLog
=========
-Version 5.1
------------
+Version 5.1 (2019-mm-dd)
+------------------------
- ...
Vesion 5.0.7 (2019-mm-dd)
-------------------------
+- This version officially supports the new PostgreSQL 11.
- Fixed a bug in parsing array subscript ranges (reported by Justin Pryzby).
Vesion 5.0.6 (2018-07-29)
Modified: trunk/docs/contents/general.rst (959 => 960)
--- trunk/docs/contents/general.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/general.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -15,7 +15,7 @@
.. seealso::
**DB-API 2.0** (Python Database API Specification v2.0)
- is a specification for connecting to databases (not only PostGreSQL)
+ is a specification for connecting to databases (not only PostgreSQL)
from Python that has been developed by the Python DB-SIG in 1999.
The authoritative programming information for the DB-API is :pep:`0249`.
Modified: trunk/docs/contents/install.rst (959 => 960)
--- trunk/docs/contents/install.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/install.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -11,7 +11,7 @@
``PATH`` environment variable.
The current version of PyGreSQL has been tested with Python versions
-2.6, 2.7 and 3.3 to 3.7, and PostGreSQL versions 9.0 to 9.6 and 10.
+2.6, 2.7 and 3.3 to 3.7, and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
PyGreSQL will be installed as three modules, a dynamic module called
_pg.pyd, and two pure Python wrapper modules called pg.py and pgdb.py.
Modified: trunk/docs/contents/pg/adaptation.rst (959 => 960)
--- trunk/docs/contents/pg/adaptation.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/pg/adaptation.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -363,7 +363,7 @@
True
However, calculating the intersection points between the two circles using the
-``#`` operator does not work (at least not as of PostgreSQL version 10).
+``#`` operator does not work (at least not as of PostgreSQL version 11).
So let's resort to SymPy to find out. To ease importing circles from
PostgreSQL to SymPy, we create and register the following typecast function::
Modified: trunk/docs/contents/pg/connection.rst (959 => 960)
--- trunk/docs/contents/pg/connection.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/pg/connection.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -428,7 +428,7 @@
Create a large object in the database
:param int mode: large object create mode
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad parameter type, or too many parameters
:raises pg.OperationalError: creation error
@@ -446,7 +446,7 @@
Create a large object in the database
:param int oid: OID of the existing large object
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad parameter type, or too many parameters
:raises ValueError: bad OID value (0 is invalid_oid)
@@ -462,7 +462,7 @@
Import a file to a large object
:param str name: the name of the file to be imported
- :returns: object handling the PostGreSQL large object
+ :returns: object handling the PostgreSQL large object
:rtype: :class:`LargeObject`
:raises TypeError: invalid connection, bad argument type, or too many arguments
:raises pg.OperationalError: error during file import
Modified: trunk/docs/contents/pg/module.rst (959 => 960)
--- trunk/docs/contents/pg/module.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/pg/module.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -370,7 +370,7 @@
This function returns the decimal mark used by PyGreSQL to interpret
PostgreSQL monetary values when converting them to decimal numbers.
The default setting is ``'.'`` as a decimal point. This setting is not
-adapted automatically to the locale used by PostGreSQL, but you can use
+adapted automatically to the locale used by PostgreSQL, but you can use
:func:`set_decimal()` to set a different decimal mark manually. A return
value of ``None`` means monetary values are not interpreted as decimal
numbers, but returned as strings including the formatting and currency.
@@ -386,7 +386,7 @@
This function can be used to specify the decimal mark used by PyGreSQL
to interpret PostgreSQL monetary values. The default value is '.' as
a decimal point. This value is not adapted automatically to the locale
-used by PostGreSQL, so if you are dealing with a database set to a
+used by PostgreSQL, so if you are dealing with a database set to a
locale that uses a ``','`` instead of ``'.'`` as the decimal point,
then you need to call ``set_decimal(',')`` to have PyGreSQL interpret
monetary values correctly. If you don't want money values to be converted
Modified: trunk/docs/contents/pgdb/introduction.rst (959 => 960)
--- trunk/docs/contents/pgdb/introduction.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/contents/pgdb/introduction.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -8,7 +8,7 @@
The following part of the documentation covers only the newer :mod:`pgdb` API.
**DB-API 2.0** (Python Database API Specification v2.0)
-is a specification for connecting to databases (not only PostGreSQL)
+is a specification for connecting to databases (not only PostgreSQL)
from Python that has been developed by the Python DB-SIG in 1999.
The authoritative programming information for the DB-API is :pep:`0249`.
Modified: trunk/docs/download/download.rst (959 => 960)
--- trunk/docs/download/download.rst 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/docs/download/download.rst 2019-01-04 17:49:21 UTC (rev 960)
@@ -17,12 +17,12 @@
An **openSUSE package** is available through their build service at
* https://software.opensuse.org/package/PyGreSQL?search_term=pygresql
A **Win32 installer** for various Python versions is available at
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.6.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.7.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.4.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.5.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.6.exe
- * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.4.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.5.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.7.exe
Older PyGreSQL versions
-----------------------
Modified: trunk/mktar (959 => 960)
--- trunk/mktar 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/mktar 2019-01-04 17:49:21 UTC (rev 960)
@@ -1,6 +1,6 @@
#! /bin/sh
-VERSION=5.0.6
+VERSION=5.1
DISTDIR=/u/WEB/pyg/files
# some safety tests
Modified: trunk/pg.py (959 => 960)
--- trunk/pg.py 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/pg.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -1472,7 +1472,7 @@
return NotificationHandler(*args, **kw)
-# The actual PostGreSQL database connection interface:
+# The actual PostgreSQL database connection interface:
class DB:
"""Wrapper class for the _pg connection type."""
Modified: trunk/setup.py (959 => 960)
--- trunk/setup.py 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/setup.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -1,7 +1,7 @@
#! /usr/bin/python
# $Id$
-"""Setup script for PyGreSQL version 5.0.6
+"""Setup script for PyGreSQL version 5.1
PyGreSQL is an open-source Python module that interfaces to a
PostgreSQL database. It embeds the PostgreSQL query library to allow
@@ -33,7 +33,7 @@
"""
-version = '5.0.6'
+version = '5.1'
import sys
Modified: trunk/tests/test_classic_connection.py (959 => 960)
--- trunk/tests/test_classic_connection.py 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/tests/test_classic_connection.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -164,7 +164,7 @@
def testAttributeServerVersion(self):
server_version = self.connection.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 110000)
+ self.assertTrue(90000 <= server_version < 120000)
def testAttributeStatus(self):
status_ok = 1
Modified: trunk/tests/test_classic_dbwrapper.py (959 => 960)
--- trunk/tests/test_classic_dbwrapper.py 2019-01-04 17:20:28 UTC (rev 959)
+++ trunk/tests/test_classic_dbwrapper.py 2019-01-04 17:49:21 UTC (rev 960)
@@ -275,7 +275,7 @@
def testAttributeServerVersion(self):
server_version = self.db.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 110000)
+ self.assertTrue(90000 <= server_version < 120000)
self.assertEqual(server_version, self.db.db.server_version)
def testAttributeStatus(self):