Playing around with files-in-text-field. I can happily slam a 10M file into a text field in a table defined as And I can regenerate the file using java (with jOOQ) in respectable time. However, I get into deep dodo when I try redirecting psql output such as select ld from gt.ld\g /tmp/regen.file"/tmp/regen.file" gets very large, very fast and I have to pg_terminate_backend. Tried this three times, once using "\o test.blob" instead. h009357:loader$ ls -ltrFrankly, I'm suspicious of that ls (it's an smb mount of 25T partition) but that's what's in the emacs shell buffer! The re-direct isn't a must-have, but was hoping that would be an easy way to get a file back. Have I simply gone too far with text type?
|