Changeset 27 for trunk/docs


Ignore:
Timestamp:
Oct 1, 2000, 11:27:33 PM (19 years ago)
Author:
momjian
Message:

Update for PyGreSQL 3.0, from D'Arcy J.M. Cain

Location:
trunk/docs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Announce

    r16 r27  
    11
    2 Announce: Release of PyGreSQL version 2.4
     2Announce: Release of PyGreSQL version 3.0
    33===============================================
    44
    5 PyGreSQL v2.4 has been released.
     5PyGreSQL v3.0 has been released.
    66It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL.tgz.  If
    7 you are on NetBSD, look in the packages directory under databases.  If
    8 it isn't there yet, it should be there shortly.  You can also pick up the
    9 package files from ftp://ftp.druid.net/pub/distrib/pygresql.pkg.tgz.
    10 There is also a package in the FreeBSD ports collection but as I write
    11 this it is at version 2.1.  I will try to get that updated as well.
     7you are running NetBSD, look in the packages directory under databases.
     8There is also a package in the FreeBSD ports collection.             
    129
    1310PostgreSQL is a database system derived from Postgres4.2. It conforms
     
    2926PostgreSQL features from a Python script.
    3027
    31 I wanted to have DB-SIG API support in the next release but there are
    32 enough fixes and improvements to make one more release before starting
    33 on that.  The next version will be 3.0 and have the DB-SIG API support.
    34 Note that I said this for 2.4 but some required changes from others have
    35 been slow in coming (I'm not complaining, people do have lives) and
    36 there were enough fixes that I didn't want to keep them from a release.
     28This release of PyGreSQL is the first DB-SIG API.  That's why we have
     29a bump in the major number.  There is also a potential problem in
     30backwards compatibility.  Previously when there was a NULL in a returned
     31field it was returned as a blank.  Now it is more properly returned as
     32a Python None.  Any scripts that expect NULLs to be blanks will have
     33problems with this.
    3734
    38 PyGreSQL 2.3 was developed and tested on a NetBSD 1.3_BETA system.  It
     35Due to the fact that the DB-API is brand new, it is expected that there
     36will be a 3.1 release shortly with corrections once many people have
     37had a chance to test it.
     38
     39See the other changes below or in the Changelog file.
     40
     41PyGreSQL 2.0 was developed and tested on a NetBSD 1.3_BETA system.  It
    3942is based on the PyGres95 code written by Pascal Andre,
    4043andre@chimay.via.ecp.fr.  I changed the version to 2.0 and updated the
     
    4245the code to use full ANSI style prototypes and changed the order of
    4346arguments to connect.  Later versions are fixes and enhancements to that.
     47The latest version of PyGreSQL works with Python 1.5.2 and PostgreSQL 6.5.
     48
     49Important changes from PyGreSQL 2.4 to PyGreSQL 3.0:
     50  - Remove strlen() call from pglarge_write() and get size from object.
     51    (Richard@Bouska.cz)
     52  - Add a little more error checking to the quote function in the wrapper
     53  - Add extra checking in _quote function
     54  - Wrap query in pg.py for debugging
     55  - Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
     56  - Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
     57  - Correct keyword clash (temp) in tutorial
     58  - Clean up layout of tutorial
     59  - Return NULL values as None (rlawrence@lastfoot.com) (WARNING: This
     60    will cause backwards compatibility issues.)
     61  - Change None to NULL in insert and update
     62  - Change hash-bang lines to use /usr/bin/env
     63  - Clearing date should be blank (NULL) not TODAY
     64  - Quote backslashes in strings in _quote (brian@CSUA.Berkeley.EDU)
     65  - Expanded and clarified build instructions (tbryan@starship.python.net)
     66  - Make code thread safe (Jerome.Alet@unice.fr)
     67  - Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
     68  - Many fixes and increased DB-API compliance by chifungfan@yahoo.com,
     69    tony@printra.net, jeremy@alum.mit.edu and others to get the final
     70    version ready to release.
    4471
    4572Important changes from PyGreSQL 2.3 to PyGreSQL 2.4:
     
    4976  - Added ntuples() method to query object (brit@druid.net)
    5077  - Corrected a bug related to getresult() and the money type
    51   - Corrected a but related to negative money amounts
     78  - Corrected a bug related to negative money amounts
    5279  - Allow update based on primary key if munged oid not available and
    5380    table has a primary key
    5481  - Add many __doc__ strings. (andre@via.ecp.fr)
     82  - Get method works with views if key specified
    5583
    5684Important changes from PyGreSQL 2.2 to PyGreSQL 2.3:
  • trunk/docs/ChangeLog

    r16 r27  
    66See file README for copyright information.
    77
     8Version 3.0
     9  - Remove strlen() call from pglarge_write() and get size from object.
     10    (Richard@Bouska.cz)
     11  - Add a little more error checking to the quote function in the wrapper
     12  - Add extra checking in _quote function
     13  - Wrap query in pg.py for debugging
     14  - Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
     15  - Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
     16  - Correct keyword clash (temp) in tutorial
     17  - Clean up layout of tutorial
     18  - Return NULL values as None (rlawrence@lastfoot.com)
     19  - Change None to NULL in insert and update
     20  - Change hash-bang lines to use /usr/bin/env
     21  - Clearing date should be blank (NULL) not TODAY
     22  - Quote backslashes in strings in _quote (brian@CSUA.Berkeley.EDU)
     23  - Expanded and clarified build instructions (tbryan@starship.python.net)
     24  - Make code thread safe (Jerome.Alet@unice.fr)
     25  - Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
     26  - Many fixes and increased DB-API compliance by chifungfan@yahoo.com,
     27    tony@printra.net, jeremy@alum.mit.edu and others to get the final
     28    version ready to release.
     29
    830Version 2.4
    931  - Insert returns None if the user doesn't have select permissions
     
    1234  - Added ntuples() method to query object (brit@druid.net)
    1335  - Corrected a bug related to getresult() and the money type
    14   - Corrected a but related to negative money amounts
     36  - Corrected a bug related to negative money amounts
    1537  - Allow update based on primary key if munged oid not available and
    1638    table has a primary key
    1739  - Add many __doc__ strings. (andre@via.ecp.fr)
     40  - Get method works with views if key specified
    1841
    1942Version 2.3
Note: See TracChangeset for help on using the changeset viewer.