I wrote:> You can add the I/O functions with ALTER TYPE nowadays.
To be concrete, see 949a9f043eb70a4986041b47513579f9a13d6a33
regards, tom lane