Seems like it would make a lot more sense to the client application that way too...What if we just defined the binary format as being identical to the text format, ie, the enum label? A bit silly but at least it would eliminate the gotcha that binary I/O fails.
-- Korry ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match