[postmodern-devel] Point type
Slobodan Milnović
slobodan.milnovic at gmail.com
Sun Jan 2 13:02:09 UTC 2011
Hi,
What would be the best representation of the point type?
So far, I have been using following for query:
(:[] 'point-column 0)
(:[] 'point-column 1)
and this for update:
'point-column (:type (concatenate 'string
(write-to-string x-coordinate)
","
(write-to-string y-coordinate)) point)
It works, but seems a bit of a kludge.
And how about more complex data types that use points like these
http://www.postgresql.org/docs/8.4/static/datatype-geometric.html ?
More information about the postmodern-devel
mailing list