Thomas Hallgren <thomas@tada.se> writes:
> Jim C. Nasby wrote:
>> Well, hex is much easier to deal with in many regards than raw bytes,
>> though. But yes, the idea is that you'd just store raw bytes on disk.
>> byte or octet would work fine if they existed.
>>
> IIRC, Oracle actually uses the term RAW. It makes sense I think. No
> conversion applied, no nothing. Just simple raw data.
bytea does that.
regards, tom lane