mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Bump version to 3.3. Mostly this is because there is some confusion about
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.
This commit is contained in:
parent
ae8a9b8a9f
commit
d75ed09b31
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
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
|
It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL.tgz. If
|
||||||
you are running NetBSD, look in the packages directory under databases.
|
you are running NetBSD, look in the packages directory under databases.
|
||||||
There is also a package in the FreeBSD ports collection.
|
There is also a package in the FreeBSD ports collection.
|
||||||
@ -44,6 +44,10 @@ the code to use full ANSI style prototypes and changed the order of
|
|||||||
arguments to connect. Later versions are fixes and enhancements to that.
|
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
|
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
|
Important changes from PyGreSQL 3.1 to PyGreSQL 3.2
|
||||||
Note that there are very few changes to PostgreSQL between 3.1 and
|
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
|
3.2. The main reason for the release is the move into the PostgreSQL
|
||||||
|
@ -5,11 +5,16 @@ This software is copyright (c) 1995, Pascal Andre (andre@via.ecp.fr)
|
|||||||
Further copyright 1997, 1998 and 1999 by D'Arcy J.M. Cain (darcy@druid.net)
|
Further copyright 1997, 1998 and 1999 by D'Arcy J.M. Cain (darcy@druid.net)
|
||||||
See file README for copyright information.
|
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
|
Version 3.2
|
||||||
- Add WIN32 support (gerhard@bigfoot.de)
|
- Add WIN32 support (gerhard@bigfoot.de)
|
||||||
- Fix some DB-API quoting problems (niall.smart@ebeon.com)
|
- Fix some DB-API quoting problems (niall.smart@ebeon.com)
|
||||||
- Moved development into PostgreSQL development tree.
|
- Moved development into PostgreSQL development tree.
|
||||||
- Added NUMERICOID to list of returned types.
|
|
||||||
|
|
||||||
Version 3.1
|
Version 3.1
|
||||||
- Fix some quoting functions. In particular handle NULLs better.
|
- Fix some quoting functions. In particular handle NULLs better.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $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
|
subdir = src/interfaces/python
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
@ -19,10 +19,23 @@ include $(top_srcdir)/src/Makefile.shlib
|
|||||||
|
|
||||||
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
|
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
|
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
|
.PHONY: libpq-all
|
||||||
libpq-all:
|
libpq-all:
|
||||||
$(MAKE) -C $(libpq_builddir) all
|
$(MAKE) -C $(libpq_builddir) all
|
||||||
@ -38,11 +51,10 @@ install: all installdirs
|
|||||||
echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
|
echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
|
||||||
$(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"; \
|
for i in $(PY_SCRIPTS) $(PY_COMPILED_SCRIPTS); do \
|
||||||
$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \
|
echo $(INSTALL_DATA) $$i $(python_moduledir); \
|
||||||
\
|
$(INSTALL_DATA) $$i $(python_moduledir); \
|
||||||
echo "$(INSTALL_DATA) $(srcdir)/pgdb.py $(DESTDIR)$(python_moduledir)/pgdb.py"; \
|
done \
|
||||||
$(INSTALL_DATA) $(srcdir)/pgdb.py $(DESTDIR)$(python_moduledir)/pgdb.py; \
|
|
||||||
else \
|
else \
|
||||||
$(install-warning-msg); \
|
$(install-warning-msg); \
|
||||||
fi
|
fi
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
PyGreSQL - v3.2: PostgreSQL module for Python
|
PyGreSQL - v3.3: PostgreSQL module for Python
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
0. Copyright notice
|
0. Copyright notice
|
||||||
===================
|
===================
|
||||||
|
|
||||||
PyGreSQL, version 3.2
|
PyGreSQL, version 3.3
|
||||||
A Python interface for PostgreSQL database.
|
A Python interface for PostgreSQL database.
|
||||||
Written by D'Arcy J.M. Cain, darcy@druid.net<BR>
|
Written by D'Arcy J.M. Cain, darcy@druid.net<BR>
|
||||||
Based heavily on code written by Pascal Andre, andre@chimay.via.ecp.fr.
|
Based heavily on code written by Pascal Andre, andre@chimay.via.ecp.fr.
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static PyObject *PGError;
|
static PyObject *PGError;
|
||||||
static const char *PyPgVersion = "3.2";
|
static const char *PyPgVersion = "3.3";
|
||||||
|
|
||||||
/* taken from fileobject.c */
|
/* taken from fileobject.c */
|
||||||
#define BUF(v) PyString_AS_STRING((PyStringObject *)(v))
|
#define BUF(v) PyString_AS_STRING((PyStringObject *)(v))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user