pgsql-bugs(at)postgresql(dot)org writes:> INSERT INTO IMAGES (NAME,DATA) VALUES ('image1','\377\000\556\211\000');
You need to double all those backslashes.
regards, tom lane