dear lists,
i've pushed changes into our local-time branch that contains an asdf-system-connection to cl-postgres:
darcs pull http://www.common-lisp.net/project/cl-dwim/darcs/local-time
Daniel, if you don't mind the extra dependency then please push it into the official. now it's possible to use postmodern so that it returns local-time values and at the same time does not interfere with other softwares that use its simple-date lib.
the approach is similar to cl's readtables:
(defparameter *custom-sql-readtable* (local-time:set-local-time-cl-postgres-readers (cl-postgres:copy-sql-readtable)))
(let ((cl-postgres:*sql-readtable* *custom-sql-readtable*)) (cl-postgres:exec-prepared ...))
at the time of writing our postmodern branch contains a few extra patches. Marijn, please take a look at them and push to the official if you have no concerns with it.
darcs pull http://www.common-lisp.net/project/cl-dwim/darcs/postmodern/
Hi,
I've taken over most of the patches from Attila's repo, except that registering readers for the 'timestamp with timezone' type is done with a different argument (:timestamp-with-timezone) to set-sql-datetime-readers, instead of being rolled into :timestamp.
Cheers, Marijn
postmodern-devel@common-lisp.net