Skip site navigation (1) Skip section navigation (2)

[PyGreSQL] Announce: PyGreSQL 2.4 released

From: "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net>
To: pygresql(at)vex(dot)net, pgsql-announce(at)PostgreSQL(dot)org, python-announce(at)python(dot)org
Subject: [PyGreSQL] Announce: PyGreSQL 2.4 released
Date: 1999-10-09 12:32:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-announce
[Note:  As many are aware, 2.4 has been available for a while but I
never got around to announcing it officially for various reasons.  If
you are using the 2.4 version that has been around since February, 1999
there is no change.]

Announce: Release of PyGreSQL version 2.4

PyGreSQL v2.4 has been released.
It is available at:  If
you are running NetBSD, look in the packages directory under databases.
There is also a package in the FreeBSD ports collection.

PostgreSQL is a database system derived from Postgres4.2. It conforms
to (most of) ANSI SQL and offers many interesting capabilities (C
dynamic linking for functions or type definition, etc.). This package
is copyright by the Regents of the University of California, and is
freely distributable.

Python is an interpreted programming language. It is object oriented,
simple to use (light syntax, simple and straightforward statements), and
has many extensions for building GUIs, interfacing with WWW, etc.  An
intelligent web  browser (HotJava like) is currently under development
(November 1995), and this should open programmers many doors. Python is
copyrighted by Stichting S Mathematisch Centrum, Amsterdam, The
Netherlands, and is freely distributable.

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.

I wanted to have DB-SIG API support in the next release but there are
enough fixes and improvements to make one more release before starting
on that.  The next version will be 3.0 and have the DB-SIG API support.
Note that I said this for 2.3 but some required changes from others have
been slow in coming (I'm not complaining, people do have lives) and
there were enough fixes that I didn't want to keep them from a release.

PyGreSQL 2.0 was developed and tested on a NetBSD 1.3_BETA system.  It
is based on the PyGres95 code written by Pascal Andre,
andre(at)chimay(dot)via(dot)ecp(dot)fr(dot)  I changed the version to 2.0 and updated the
code for Python 1.5 and PostgreSQL 6.2.1.  While I was at it I upgraded
the code to use full ANSI style prototypes and changed the order of
arguments to connect.  Later versions are fixes and enhancements to that.
The latest version of PyGreSQL works with Python 1.5.2 and PostgreSQL 6.5.

Important changes from PyGreSQL 2.3 to PyGreSQL 2.4:
  - Insert returns None if the user doesn't have select permissions
    on the table.  It can (and does) happen that one has insert but
    not select permissions on a table.
  - Added ntuples() method to query object (brit(at)druid(dot)net)
  - Corrected a bug related to getresult() and the money type
  - Corrected a bug related to negative money amounts
  - Allow update based on primary key if munged oid not available and
    table has a primary key
  - Add many __doc__ strings. (andre(at)via(dot)ecp(dot)fr)
  - Get method works with views if key specified

Important changes from PyGreSQL 2.2 to PyGreSQL 2.3:
  - returns "localhost" when connected to Unix socket
  - Use PyArg_ParseTupleAndKeywords in connect() (torppa(at)tuhnu(dot)cutery(dot)fi)
  - fixes and cleanups (torppa(at)tuhnu(dot)cutery(dot)fi)
  - Fixed memory leak in dictresult() (terekhov(at)emc(dot)com)
  - Deprecated - functionality now in
  - More cleanups to the tutorial
  - Added fileno() method - terekhov(at)emc(dot)com (Mikhail Terekhov)
  - added money type to quoting function
  - Compiles cleanly with more warnings turned on
  - Returns PostgreSQL error message on error
  - Init accepts keywords (Jarkko Torppa)
  - Convenience functions can be overridden (Jarkko Torppa)
  - added close() method

Important changes from PyGreSQL 2.1 to PyGreSQL 2.2:
  - Added user and password support thanks to Ng Pheng Siong <ngps(at)post1(dot)com>
  - Insert queries return the inserted oid
  - Add new pg wrapper (C module renamed to _pg)
  - Wrapped database connection in a class.
  - Cleaned up some of the tutorial.  (More work needed.)
  - Added version and __version__.  Thanks to thilo(at)eevolute(dot)com for
    the suggestion.

Important changes from PyGreSQL 2.0 to PyGreSQL 2.1:
  - return fields as proper Python objects for field type
  - Cleaned up
  - Added dictresult method

Important changes from Pygres95 1.0b to PyGreSQL 2.0:
  - Updated code for PostgreSQL 6.2.1 and Python 1.5.
  - Reformatted code and converted to ANSI .
  - Changed name to PyGreSQL (from PyGres95.)
  - Changed order of arguments to connect function.
  - Created new type pgqueryobject and moved certain methods to it.
  - Added a print function for pgqueryobject
  - Various code changes - mostly stylistic.

For more information about each package, please have a look to their
web pages:
  - Python :
  - PostgreSQL :
  - PyGreSQL :

D'Arcy J.M. Cain

D'Arcy J.M. Cain <darcy(at){druid|vex}.net>   |  Democracy is three wolves                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-announce by date

Next:From: Jeroen van VianenDate: 1999-10-10 12:35:01
Subject: pgxml 1.0 released
Previous:From: Marc G. FournierDate: 1999-10-07 12:17:37
Subject: Patch for Postgres (against postfix-19990906-pl05) (fwd)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group