summaryrefslogtreecommitdiff
path: root/databases/py-postgresql
diff options
context:
space:
mode:
authordarcy <darcy>2016-12-11 11:25:52 +0000
committerdarcy <darcy>2016-12-11 11:25:52 +0000
commitbd7dbc630283f89a163821a8b6cdbcb422e2f3f7 (patch)
tree7fa34afa43d477f4f8387e18ce8e8cc4b2fb165e /databases/py-postgresql
parentaad7360138b69dc03ecf9d6fa5e8cc746f587195 (diff)
downloadpkgsrc-bd7dbc630283f89a163821a8b6cdbcb422e2f3f7.tar.gz
Upgrade to 5.0.3.
- It is now possible to use a custom array cast function by changing the type caster for the 'anyarray' type. For instance, by calling set_typecast('anyarray', lambda v, c: v) you can have arrays returned as strings instead of lists. Note that in the pg module, you can also call set_array(False) in order to return arrays as strings. - The namedtuple classes used for the rows of query results are now cached and reused internally, since creating namedtuples classes in Python is a somewhat expensive operation. By default the cache has a size of 1024 entries, but this can be changed with the set_row_factory_size() function. In certain cases this change can notably improve the performance.
Diffstat (limited to 'databases/py-postgresql')
-rw-r--r--databases/py-postgresql/Makefile5
-rw-r--r--databases/py-postgresql/distinfo10
2 files changed, 7 insertions, 8 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index cde8fe9efd9..7594aa5ffc9 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2016/10/09 21:41:57 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2016/12/11 11:25:52 darcy Exp $
-DISTNAME= PyGreSQL-5.0.2
+DISTNAME= PyGreSQL-5.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyGreSQL/postgresql/}
-PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://pygresql.org/files/
diff --git a/databases/py-postgresql/distinfo b/databases/py-postgresql/distinfo
index e18c8086b4c..fe659ac7e31 100644
--- a/databases/py-postgresql/distinfo
+++ b/databases/py-postgresql/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2016/09/13 23:59:37 wiz Exp $
+$NetBSD: distinfo,v 1.27 2016/12/11 11:25:52 darcy Exp $
-SHA1 (PyGreSQL-5.0.2.tar.gz) = c6c62fd355a8709f04c1b568964c8dc9f66228ae
-RMD160 (PyGreSQL-5.0.2.tar.gz) = ba19c7cac3a17c1070f5910a5ecf67ba040194cb
-SHA512 (PyGreSQL-5.0.2.tar.gz) = 5332f23754df47e121d7301de056f5ab4defd91cba9762ef9196d0c04279ee4d1fcc7c24d23fa5f3a025fad1914666207f90ec858efd09207806cd9af3d920eb
-Size (PyGreSQL-5.0.2.tar.gz) = 637713 bytes
+SHA1 (PyGreSQL-5.0.3.tar.gz) = f0588d0881691c5edd6c488f1f542783cf191d7e
+RMD160 (PyGreSQL-5.0.3.tar.gz) = 3314afd8a770ccc5927611a867e3ae5b3d001d8c
+SHA512 (PyGreSQL-5.0.3.tar.gz) = bbec22a2d4ca09b570b0e4845e3c7592a15173639a3fe7fa59426ad6354bf1cab7dc1e21ceda16b42b8bbb4f6653aa59288b4f22238cd0baf2f6ebe98622d17e
+Size (PyGreSQL-5.0.3.tar.gz) = 642756 bytes