问题
Is there a better data type to be using to store a zlib compressed string in Postgresql?
回答1:
Use bytea "The bytea data type allows storage of binary strings"
回答2:
Use a bytea. Zip compressed data is not a text.
来源:https://stackoverflow.com/questions/2958073/postgres-text-column-doesnt-like-my-zlib-compressed-data