the latest version and I wanted to make sure that there was a clean release.
I also change the build files as I discussed in my letter of Nov 6, 2001. At
the time I was asked to hold off until after the release.
-Announce: Release of PyGreSQL version 3.2
+Announce: Release of PyGreSQL version 3.3
=========================================
-PyGreSQL v3.2 has been released.
+PyGreSQL v3.3 has been released.
It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL.tgz. If
you are running NetBSD, look in the packages directory under databases.
There is also a package in the FreeBSD ports collection.
arguments to connect. Later versions are fixes and enhancements to that.
The latest version of PyGreSQL works with Python 1.5.2 and PostgreSQL 7.0.x
+Important changes from PyGreSQL 3.2 to PyGreSQL 3.3
+ - Added NUMERICOID to list of returned types. This fixes a bug when
+ returning aggregates in the latest version of PostgreSQL.
+
Important changes from PyGreSQL 3.1 to PyGreSQL 3.2
Note that there are very few changes to PostgreSQL between 3.1 and
3.2. The main reason for the release is the move into the PostgreSQL
See file README for copyright information.
+Version 3.3
+ A few cleanups. Mostly there was some confusion about the latest version
+ and so I am bumping the number to keep it straight.
+ - Added NUMERICOID to list of returned types. This fixes a bug when
+ returning aggregates.
+
Version 3.2
- Moved development into PostgreSQL development tree.
- - Added NUMERICOID to list of returned types.
Version 3.1
- Fix some quoting functions. In particular handle NULLs better.
-# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.11 2001/08/24 14:07:50 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.12 2001/12/03 12:39:44 darcy Exp $
subdir = src/interfaces/python
top_builddir = ../../..
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
-all: all-lib
+PY_SCRIPTS = pg.py pgdb.py
+ifeq ($(with_python_compile), yes)
+PY_COMPILED_SCRIPTS = $(PY_SCRIPTS:%.py=%.pyc) $(PY_SCRIPTS:%.py=%.pyo)
+else
+PY_COMPILED_SCRIPTS =
+endif
+
+all: all-lib $(PY_COMPILED_SCRIPTS)
all-lib: libpq-all
+%.pyc: %.py
+ $(PYTHON) -c "import py_compile; py_compile.compile(\"$<\")"
+
+%.pyo: %.py
+ $(PYTHON) -O -c "import py_compile; py_compile.compile(\"$<\")"
+
.PHONY: libpq-all
libpq-all:
$(MAKE) -C $(libpq_builddir) all
echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \
\
- echo "$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py"; \
- $(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \
- \
- echo "$(INSTALL_DATA) $(srcdir)/pgdb.py $(DESTDIR)$(python_moduledir)/pgdb.py"; \
- $(INSTALL_DATA) $(srcdir)/pgdb.py $(DESTDIR)$(python_moduledir)/pgdb.py; \
+ for i in $(PY_SCRIPTS) $(PY_COMPILED_SCRIPTS); do \
+ echo $(INSTALL_DATA) $$i $(python_moduledir); \
+ $(INSTALL_DATA) $$i $(python_moduledir); \
+ done \
else \
$(install-warning-msg); \
fi
-PyGreSQL - v3.2: PostgreSQL module for Python
+PyGreSQL - v3.3: PostgreSQL module for Python
==============================================
0. Copyright notice
===================
- PyGreSQL, version 3.2
+ PyGreSQL, version 3.3
A Python interface for PostgreSQL database.
#include
static PyObject *PGError;
-static const char *PyPgVersion = "3.2";
+static const char *PyPgVersion = "3.3";
/* taken from fileobject.c */
#define BUF(v) PyString_AS_STRING((PyStringObject *)(v))