[PyGreSQL] PyGreSQL Digest, Vol 84, Issue 3
Christoph Zwerschke
cito at online.de
Sun Jul 17 11:30:48 EDT 2011
Am 16.07.2011 19:48 schrieb Christoph Zwerschke:
> Good question. Pygres supports "pyformat", which means "extended" format
> codes. Not sure whether the "extended" refers only to dictionary style
> parameters or also other format codes - the specs are unclear. But we
> should clarify this first.
Seems there is no clear answer (I even asked on the DB-SIG mailing
list). If you use '%f' format then I think you should make sure you
operate with finite values.
So I've checked this in anyway, similar to what Maxim suggested, but
with some changes to make it work with older Py versions down to 2.3.
The datetime.date issue should be handled separately, it is now at
http://trac.vex.net:8000/pgtracker/ticket/40
-- Christoph
More information about the PyGreSQL
mailing list