Up to [cvs.NetBSD.org] / pkgsrc / databases / py-postgresql / pkg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Move pkg/ files into package's toplevel directory
Update py-postgresql to 3.2. Changes from version 3.1 include few bugfixes, adds a few minor features and makes a few speedups in the code, plus: - Fix some DB-API quoting problems (niall.smart@ebeon.com) - Moved development into PostgreSQL development tree.
Remove pgtools.py as it's not present.
Upgrade to version 3.1.
This release fixes a few bugs, adds a few minor features and makes a
few speedups in the code.
Important changes from PyGreSQL 3.0 to PyGreSQL 3.1
- Fix some quoting functions. In particular handle NULLs better.
- Use a method to add primary key information rather than direct
manipulation of the class structures.
- Break decimal out in _quote (in pg.py) and treat it as float.
- Treat timestamp like date for quoting purposes.
- Remove a redundant SELECT from the get method speeding it, and insert
since it calls get, up a little.
- Add test for BOOL type in typecast method to pgdbTypeCache class.
(tv@beamnet.de)
- Fix pgdb.py to send port as integer to lower level function
(dildog@l0pht.com)
- Change pg.py to speed up some operations
- Allow updates on tables with no primary keys.
This whole package doesn't have a file 'pgtools.py', remove it from te PLIST.
Upgrade to verson 3.0. The most important change here is addition of
the Python DB-API module. Also, note backwards compatibility issue.
Important changes for 3.0
Remove strlen() call from pglarge_write() and get size from object.
(Richard@Bouska.cz)
Add a little more error checking to the quote function in the wrapper
Add extra checking in _quote function
Wrap query in pg.py for debugging
Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
Correct keyword clash (temp) in tutorial
Clean up layout of tutorial
Return NULL values as None (rlawrence@lastfoot.com) (WARNING: This will
cause backwards compatibility issues.)
Change None to NULL in insert and update
Change hash-bang lines to use /usr/bin/env
Clearing date should be blank (NULL) not TODAY
Quote backslashes in strings in _quote (brian@CSUA.Berkeley.EDU)
Expanded and clarified build instructions (tbryan@starship.python.net)
Make code thread safe (Jerome.Alet@unice.fr)
Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
Many fixes by chifungfan@yahoo.com, tony@printra.net, jeremy@alum.mit.edu
and others to get the final version ready to release.
Initial import of py-postgresql, a PostgreSQL interface for Python. From PR#6971 by darcy@netbsd.org, with fixes by me.
Initial revision