Open wilzbach opened 7 years ago
case BOOLEAN: case TIMESTAMP: case INET: case NUMERIC: case JSONB: case INTERVAL: case VARCHAR: case TEXT: stream.write(cast(short) 0); // text format break; default: stream.write(cast(short) 1); // binary format }