Re: cl-postgres convert nil to false

2013-07-28 Thread Marijn Haverbeke
The distinction between nil and :null in Postmodern is a conscious decision. It makes the CL type 'boolean neatly correspond to Postgres booleans, and introduces a new type to indicate nullability. I've also had to write code to convert nils to :nulls in deep data structures a few occasions, but I

Re: cl-postgres convert nil to false

2013-07-28 Thread Julien Danjou
On Fri, Jul 26 2013, Julien Danjou wrote: > Does that sounds like a good idea, or do I miss an obvious problem? For the record and people interested in that hack, I really find it quite handy in the end. And it's easy enough to change cl-postgres/s-sql behaviour: (defmethod s-sql:sql-escape ((ar