summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-04-25 04:58:38 +0000
committerFederico Di Gregorio <fog@initd.org>2005-04-25 04:58:38 +0000
commit431a2aec6c98846405f06230def36f5ce6da8a2b (patch)
tree0e3e09e8469c0501b40501eae86ea763d6a6cda0
parent10dc03462bcdda0a557194c4be5a9ce9281e574e (diff)
downloadpsycopg2-431a2aec6c98846405f06230def36f5ce6da8a2b.tar.gz
SGA-related changes.
-rw-r--r--ChangeLog4
-rw-r--r--MANIFEST.in1
-rw-r--r--lib/extras.py3
-rw-r--r--setup.cfg2
4 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1f6c39..b7dd37a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-18 Federico Di Gregorio <fog@debian.org>
+
+ * MANIFEST.in: included debian directory.
+
2005-04-10 Federico Di Gregorio <fog@debian.org>
* psycopg/adapter_list.*: added list adapter.
diff --git a/MANIFEST.in b/MANIFEST.in
index 680d383..c11baad 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,6 +3,7 @@ recursive-include lib *.py
recursive-include tests *.py
recursive-include ZPsycopgDA *.py *.gif *.dtml
recursive-include examples *.py somehackers.jpg whereareyou.jpg
+recursive-include debian *
recursive-include doc TODO HACKING SUCCESS ChangeLog-1.x
include scripts/maketypes.sh scripts/buildtypes.py
include AUTHORS README INSTALL ChangeLog setup.py setup.cfg
diff --git a/lib/extras.py b/lib/extras.py
index 7be08a6..3e264a0 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -76,6 +76,9 @@ class DictRow(list):
res.append((n, list.__getitem__(self, v)))
return res
+ def keys(self):
+ return self._cursor.index.keys()
+
class SQL_IN(object):
diff --git a/setup.cfg b/setup.cfg
index e3d8983..486c90f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
[build_ext]
-define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
+define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
# PSYCOPG_DEBUG can be added to enable verbose debug information
# PSYCOPG_OWN_QUOTING can be added above but it is deprecated