--
Regards,
Lars
That's very unfortunate. I suppose I'll have to use something else, like MySQL.
Data type conversions are never 100% settled, so we want to leave that
to high level languages where people can be more clever and change the
code more rapidly. Being clever and changing the code rapidly is great
when it's ruby code; but when it's C code, that leads to segfaults.
Another reason is that if it works like you want 99% of the time, that's
great. But that 1% can cause a lot of frustration ;) So a higher level
library can give you access to the lower level one in the 1% case,
letting you do what you need to do.
So, it's not that we think you only want strings. It's that the code is
modular; and we chose the point of separation carefully; and the part
that turns strings into a DateTime (or whatever) is somewhere else*.
Regards,
Jeff Davis
*: "Somewhere else" in a figurative/philosophical sense, not necessarily
a physical separation. It sounds like Michael has plans to work on this
problem within the pg gem, which sounds reasonable to me.