[postmodern-devel] one-way array/record/coercion support

Marijn Haverbeke marijnh at gmail.com
Sat Mar 20 19:02:43 UTC 2010


Hey list,

I finally got around to implementing a proper serialisation for
arrays, both as query text and as prepared-query parameters (which
requires two wildly different formats --- ARRAY[E'a', E'b'] versus
{"a", "b"}). They should now Just Work. Also added a :[] sql-op, so
you can do (:[] 'myarr 1) and it'll expand to (myarr)[1] -- including
superfluous parentheses, since in a lot of situations they are
required.

Best,
Marijn




More information about the postmodern-devel mailing list