summaryrefslogtreecommitdiff
path: root/databases/py-postgresql/distinfo
AgeCommit message (Collapse)AuthorFilesLines
2009-01-01Upgrade to 4.0. This is a major release and may risk some backwardsdarcy1-4/+4
incompatibilities. Here are the major changes. - Dropped support for Python below 2.3 and PostgreSQL below 7.4. - Improved performance of fetchall() for large result sets by speeding up the type casts (as suggested by Peter Schuller). - Exposed exceptions as attributes of the connection object. - Exposed connection as attribute of the cursor object. - Cursors now support the iteration protocol. - Added new method to get parameter settings. - Added customizable row_factory as suggested by Simon Pamies. - Separated between mandatory and additional type objects. - Added keyword args to insert, update and delete methods. - Added exception handling for direct copy. - Release the GIL while making a connection (as suggested by Peter Schuller). - If available, use decimal.Decimal for numeric types. - Allow DB wrapper to be used with DB-API 2 connections (as suggested by Chris Hilton). - Made private attributes of DB wrapper accessible. - Dropped dependence on mx.DateTime module. - Support for PQescapeStringConn() and PQescapeByteaConn(); these are now also used by the internal _quote() functions. - Added 'int8' to INTEGER types. New SMALLINT type. - Added a way to find the number of rows affected by a query() with the classic pg module by returning it as a string. For single inserts, query() still returns the oid as an integer. The pgdb module already provides the "rowcount" cursor attribute for the same purpose. - Improved getnotify() by calling PQconsumeInput() instead of submitting an empty command. - Removed compatibility code for old OID munging style. - The insert() and update() methods now use the "returning" clause if possible to get all changed values, and they also check in advance whether a subsequent select is possible, so that ongoing transactions won't break if there is no select privilege. - Added "protocol_version" and "server_version" attributes. - Revived the "user" attribute. - The pg module now works correctly with composite primary keys; these are represented as frozensets. - Removed the undocumented and actually unnecessary "view" parameter from the get() method. - get() raises a nicer ProgrammingError instead of a KeyError if no primary key was found. - delete() now also works based on the primary key if no oid available and returns whether the row existed or not.
2006-06-11Update package to 3.8.1.darcy1-4/+4
Mostly bug fixes from 3.8. - Use string methods instead of deprecated string functions. - Only use SQL-standard way of escaping quotes. - Added the functions escape_string() and escape/unescape_bytea() (as suggested by Charlie Dyson and Kavous Bojnourdi a long time ago). - Reverted code in clear() method that set date to current. - Added code for backwards compatibility in OID munging code. - Reorder attnames tests so that "interval" is checked for before "int." - If caller supplies key dictionary, make sure that all has a namespace.
2006-02-17Update to version 3.8.darcy1-4/+4
- Installed new favicon.ico from Matthew Sporleder <mspo@mspo.com> - Replaced snprintf by PyOS_snprintf. - Removed NO_SNPRINTF switch which is not needed any longer - Clean up some variable names and namespace - Add get_relations() method to get any type of relation - Rewrite get_tables() to use get_relations() - Use new method in get_attnames method to get attributes of views as well - Add Binary type - Number of rows is now -1 after executing no-result statements - Fix some number handling - Non-simple types do not raise an error any more - Improvements to documentation framework - Take into account that nowadays not every table must have an oid column - Simplification and improvement of the inserttable() function - Fix up unit tests - The usual assortment of minor fixes and enhancements
2005-09-07Upgrade to PyGreSQL 3.7darcy1-4/+4
Important changes from PyGreSQL 3.6.2 to PyGreSQL 3.7 - Fixes to quoting function. - Use Python datetime if mxDatetime is not available. - Add checks for valid database connection to methods. - Improved namespace support, handle search_path correctly. - Removed old dust and unnessesary imports, added docstrings. - Internal sql statements as one-liners, smoothed out ugly code. - Major improvements in classic pg module.
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-3/+4
2005-02-23Update package to 3.6.2.darcy1-3/+3
The only change is to fix the handling of primary keys when using namespaces.
2004-12-17Wrong checksum. Updated file. No PKGREVISION bump since the update wasdarcy1-3/+3
so recent.
2004-12-16Upgrade to version 3.6.darcy1-3/+3
Most important change was serious bug in 3.5 that did not allow DB-API 2.0 version to work without a manual change. Other changes: - Better DB-API 2.0 compliance - Exception hierarchy moved into C module and made available to both APIs - Fix error in update method that caused false exceptions - Moved to standard exception hierarchy in classic API - Added new method to get transaction state - Use proper Python constants where appropriate - Use Python versions of strtol, etc. Allows WIN32 build - Bug fixes and cleanups
2004-08-30Recreate files for py-postgresql. PyGreSQL has been moved back out of thedarcy1-0/+4
PostgreSQL tree and I have released this version that is no longer tied to a specific version of PostgreSQL.
2003-04-03Build py-postgresql from the postgresql 7.3.2 tarball. PKGREVISION++toshii1-9/+0
Remove files and patches in the py-postgresql directory and add necessary ones in the postgresql directory.
2003-01-05Decouple py-postgresql from the postgresql build infrastructure and makejlam1-0/+9
this package build standalone. py-postgresql uses it's own version numbering and really doesn't have much to do with the rest of the postgresql packages.
2001-05-14Update py-postgresql to 3.2. Changes from version 3.1 include few bugfixes,jlam1-4/+0
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.
2001-04-18Move to sha1 digests, and add distfile sizes.agc1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-0/+3
+ move the patch digest/checksum values from files/patch-sum to distinfo + include distfile filesizes in distinfo