Reputation: 4003
Is there a better data type to be using to store a zlib compressed string in Postgresql?
Upvotes: 5
Views: 3296
Reputation: 34214
Use a bytea. Zip compressed data is not a text.
Upvotes: 4
Reputation: 229128
Use bytea "The bytea data type allows storage of binary strings"
Upvotes: 8