Re: [postmodern-devel] Regression in handling integer dates and timestamps

2012-02-14 Thread Marijn Haverbeke
Did you verify that those older version of cl-postgres work with your current set-up (schema, postgres server etc)? If I revert to the version from June last year, I get the exact same error. ___ postmodern-devel mailing list postmodern-devel@common-lisp

Re: [postmodern-devel] Regression in handling integer dates and timestamps

2012-02-13 Thread Lucas Hope
Hi Marijn, (ql:quickload "postmodern") (find-package :simple-date) => nil Alas, not so simple. Previously I'd had problems with simple-date always loading, and I worked around it with: (setf cl-postgres:*sql-readtable* (cl-postgres:default-sql-readtable))) => # But the erroneous behaviour I r

Re: [postmodern-devel] Regression in handling integer dates and timestamps

2012-02-09 Thread Marijn Haverbeke
It could be that simple-date is being accidentally (or intentionally) loaded. Could you check whether the :simple-date package is present? That will register handlers for serializing date and time values, which might cause the behaviour you describe. These two patches might be to blame: https://gi

Re: [postmodern-devel] Regression in handling integer dates and timestamps

2012-02-09 Thread Lucas Hope
Additional: My notes say that it succeeded on ~/quicklisp/dists/quicklisp/software/postmodern-20110619-git and failed on ~/quicklisp/dists/quicklisp/software/postmodern-20110829-git . -Luke On Fri, Feb 10, 2012 at 2:36 PM, Lucas Hope wrote: > Hi there, > > The following code sample used to wor

[postmodern-devel] Regression in handling integer dates and timestamps

2012-02-09 Thread Lucas Hope
Hi there, The following code sample used to work on postmodern-20110219-git (using quicklisp from that period). However it now breaks. I can no longer insert integers as dates or timestamps into tables. Updates don't work either, but the example below uses insert: (ql:quickload "postmodern") ;; q