-
Logged In: YES
user_id=28658
And here is the small test program I used to see the before
and after behaviour.
$ python test-timestamp DATABASE-NAME.
2006-10-24 04:51:30 UTC in Python Interface to PostgreSQL
-
The 2.5.1 module incorrectly applies the timezone
offset to TIMESTAMP columns. I get correct results
querying TIMESTAMP columns using pqsl but pyPgSQL seems
to be double applying the timezone offset.
The attached patch Works For Me (TM) by only doing the
localtime() conversion for TIMESTAMP WITH TIME ZONE
columns.
2006-10-24 04:48:32 UTC in Python Interface to PostgreSQL
-
Logged In: YES
user_id=28658
Applied patch
Doc/lib/libsocket.tex; new revision: 1.88
Modules/socketmodule.c; new revision: 1.304.
2004-08-26 00:52:42 UTC in Python
-
Logged In: YES
user_id=28658
Patch applied:
Doc/lib/libpyexpat.tex; new revision: 1.24
Lib/test/test_pyexpat.py; new revision: 1.16
Misc/NEWS; new revision: 1.1114
Modules/pyexpat.c; new revision: 2.88.
2004-08-26 00:41:35 UTC in Python
-
Logged In: YES
user_id=28658
Have added a unit test to check that the Current* members do
return something useful for parser events. Decided against
testing character data events as there can be more than one
per section of character data - this might be fragile in the
face of newer expat versions.
Oh, also added a \versionadded. Will apply this patch.
2004-08-26 00:35:30 UTC in Python
-
Logged In: YES
user_id=28658
Oops - obviously CurrentColumnNumber wraps
XML_GetCurrentColumnNumber, and CurrentLineNumber wraps
XML_GetCurrentLineNumber.
2004-08-24 02:47:41 UTC in Python
-
This patch adds CurrentByteIndex, CurrentColumnNumber,
CurrentLineNumber members to the
xml.parsers.expat.XMLParser object which respectively
wrap the XML_GetCurrentByteIndex,
XML_GetCurrentLineNumber, and
XML_GetCurrentColumnNumber expat functions.
2004-08-24 02:44:34 UTC in Python
-
Logged In: YES
user_id=28658
Sorry about that. Here they are:
configure.in; new revision 1.464
pyconfig.h.in; new revision 1.102
Doc/lib/libsocket.tex; new revision 1.85 (fix in 1.86)
Lib/socket.py; new revision 1.45
Lib/test/test_socket.py; new revision 1.73
Misc/NEWS; new revision 1.1081
Modules/socketmodule.c; new revision 1.299
(I looked for an example in on eof your patch...
2004-08-09 06:13:29 UTC in Python
-
Logged In: YES
user_id=28658
Commited the patch.
2004-08-09 04:53:23 UTC in Python
-
Logged In: YES
user_id=28658
Have addressed all of the issues with the v2 patch. Will
commit this now.
2004-08-09 04:48:53 UTC in Python