Leonel Nunez <lnunez@xxxxxxxxxxxxxx> writes: > You can use ByteA but the size will be about 4 times bigger Are you sure? The intermediate form for bytea (escaped single-quoted strings) is pretty inefficient, but once in the database the data is stored as binary and can even be compressed. Plus, I'm pretty sure the protocol supports transmitting bytea fields as binary over the wire if your client software can handle it. -Doug