I'm in the middle of working on something that generates a binary postgresql copy file and was wondering if anyone had available the breakdown of the internal time formats used, particularly for the {timestamp, timestamp with time zone} types, so I can build them on the fly.