template DefaultSerializer (
) {
enum FormatCode formatCode;
DeserializeF deserialize;
SerializeF serialize;
enum FormatCode formatCode;
DeserializeF deserialize;
SerializeF serialize;
enum FormatCode formatCode;
DeserializeF deserialize;
SerializeF serialize;
}
Default compile-time one-to-many mapper, wich for OID of some Postgres type gives it's native type representation, and serializing and deserializing functions. You can extend it with two custom mappers: Pre and Post.