diff options
author | recht <recht> | 2003-09-09 13:46:24 +0000 |
---|---|---|
committer | recht <recht> | 2003-09-09 13:46:24 +0000 |
commit | d6601cf6ec9e127b96caeba4a7b4cc0f601eb595 (patch) | |
tree | c623582f3c441a0549c9e9d7c143e7a2eed6dcae /databases/py-PgSQL/patches | |
parent | 6a1d11b2792366c2fa2b02e9745a72f97d946155 (diff) | |
download | pkgsrc-d6601cf6ec9e127b96caeba4a7b4cc0f601eb595.tar.gz |
Initial import of pyPgSQL 2.4
from pkgsrc-wip
pyPgSQL is a package of two modules that provide a Python DB-API 2.0 compliant
interface to PostgreSQL databases. The first module, libpq, exports the
PostgreSQL C API to Python. This module is written in C and can be compiled
into Python or can be dynamically loaded on demand. The second module, PgSQL,
provides the DB-API 2.0 compliant interface and support for various PostgreSQL
data types, such as INT8, NUMERIC, MONEY, BOOL, ARRAYS, etc. This module is
written in Python.
Diffstat (limited to 'databases/py-PgSQL/patches')
-rw-r--r-- | databases/py-PgSQL/patches/patch-aa | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/databases/py-PgSQL/patches/patch-aa b/databases/py-PgSQL/patches/patch-aa new file mode 100644 index 00000000000..982b370a344 --- /dev/null +++ b/databases/py-PgSQL/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/09/09 13:46:24 recht Exp $ + +--- libpqmodule.c.orig 2003-06-17 03:28:30.000000000 +0200 ++++ libpqmodule.c 2003-07-26 15:26:34.000000000 +0200 +@@ -791,7 +791,7 @@ + return PgInt8_FromString(s, (char **)NULL, 10); + } + +- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed"); ++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required"); + return (PyObject *)NULL; + } + #endif +@@ -855,7 +855,7 @@ + return PgInt2_FromString(s, (char **)NULL, 10); + } + +- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed"); ++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required"); + return (PyObject *)NULL; + } + +@@ -907,7 +907,7 @@ + return libPQbool_FromString(self, args); + } + +- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed"); ++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required"); + return (PyObject *)NULL; + } + |