Answer the question
In order to leave comments, you need to log in
How to insert a binary blob in PostgreSQL?
I write like this:
UPDATE "REQUESTS" SET shape= pg_read_file('123.jpg')::bytea WHERE request_id>0;
ERROR: invalid byte sequence for encoding "UTF8": 0xff
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question