./databases/py-postgresql, Python interface to PostgreSQL

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.0.6, Package name: py27-postgresql-5.0.6, Maintainer: darcy

PyGreSQL is a python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script. This also includes support for
the Python DB-API.


Required to run:
[devel/py-setuptools] [lang/python27] [databases/postgresql95-client]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1dea2636283393ae9741138d2e06fe266b202f1f
RMD160: f892f51a5bffe0f9ce6546e5233f8bcb7c2910b4
Filesize: 633.282 KB

Version history: (Expand)


CVS history: (Expand)


   2018-12-10 16:11:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-postgresql: updated to 5.0.6

Vesion 5.0.6:
This version officially supports the new Python 3.7.
Correct trove classifier for the PostgreSQL License.
   2018-04-29 15:50:52 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-postgresql: update to 5.0.5.

Version 5.0.5 (2018-04-25)
------------------------------
- This version officially supports the new PostgreSQL 10.
- The memory for the string with the number of rows affected by a classic pg
  module query() was already freed (bug report and fix by Peifeng Qiu).

Ok OWNER.
   2017-08-15 14:22:06 by D'Arcy J.M. Cain | Files touched by this commit (2)
Log message:
Version 5.0.4 (2017-07-23)
--------------------------
- This version officially supports the new Python 3.6 and PostgreSQL 9.6.
- query_formatted() can now be used without parameters.
- The automatic renaming of columns that are invalid as field names of
  named tuples now works more accurately in Python 2.6 and 3.0.
- Fixed error checks for unlink() and export() methods of large objects
  (bug report by Justin Pryzby).
- Fixed a compilation issue under OS X (bug report by Josh Johnston).
   2016-12-11 12:25:52 by D'Arcy J.M. Cain | Files touched by this commit (2)
Log message:
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.
   2016-10-09 23:42:04 by Thomas Klausner | Files touched by this commit (110)
Log message:
Recursive bump for all users of pgsql now that the default is 95.
   2016-09-14 01:59:37 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-postgresql to 5.0.2.

Ok from OWNER, darcy.

Version 5.0.2 (2016-09-08)
--------------------------
- Fixed an infinite recursion problem in the DB wrapper class of the classic
  module that could occur when the underlying connection could not be properly
  opened (bug report by Justin Pryzby).

Version 5.0.1 (2016-08-18)
--------------------------
- The update() and delete() methods of the DB wrapper now use the OID instead
  of the primary key if both are provided. This restores backward compatibility
  with PyGreSQL 4.x and allows updating the primary key itself if an OID exists.
- The connect() function of the DB API 2.0 module now accepts additional keyword
  parameters such as "application_name" which will be passed on to \ 
PostgreSQL.
- PyGreSQL now adapts some queries to be able to access older PostgreSQL 8.x
  databases (as suggested on the mailing list by Andres Mejia). However, these
  old versions of PostgreSQL are not officially supported and tested any more.
- Fixed an issue with Postgres types that have an OID >= 0x80000000 (reported
  on the mailing list by Justin Pryzby).
- Allow extra values that are not used in the command in the parameter dict
  passed to the query_formatted() method (as suggested by Justin Pryzby).
- Improved handling of empty arrays in the classic module.
- Unused classic connections were not properly garbage collected which could
  cause memory leaks (reported by Justin Pryzby).
- Made C extension compatible with MSVC 9 again (this was needed to compile for
  Python 2 on Windows).
   2016-03-23 22:51:26 by Thomas Klausner | Files touched by this commit (2)
Log message:
Set DIST_SUBDIR.

The previous commit replaced the distfile with a new one with the same
name. In pkgsrc, we have rules for that; apply them.
   2016-03-23 17:30:12 by D'Arcy J.M. Cain | Files touched by this commit (2)
Log message:
The distribution had the wrong tar file.  Fixed checksums for correct one.
Bumped PKGREVISION in case anyone already built the wrong one.