Pavel Stehule <pavel.steh...@gmail.com> writes: > I had a idea about additional options of COPY RAW statements. One can be > CAST function. These CAST functions can be used to any for any format.
Uh, what? CAST() is not about external representations of values, and overloading it for that purpose doesn't seem like a particularly good idea: you'd have to figure out what the conversions meant inside SQL as well as externally. Also, maybe I missed something, but a different representation of individual data values within a COPY wasn't what we were after here. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers