I have problem to store image in postgresql 9.6.13 version in my table column data type bytea
format, but this data type bytea
finely run on postgresql 8.2.23 version.
Asked
Active
Viewed 114 times
0

RKRK
- 1,284
- 5
- 14
- 18

Dinesh Palani
- 1
- 2
-
Please show some code, otherwise we're just guessing. – Federico klez Culloca Jun 07 '19 at 12:34
-
Read all the release notes between PostgreSQL 8.2.23 and 9.6.13 and find out what changed. – Mark Rotteveel Jun 07 '19 at 15:22
-
8.3 has been unsupported for a long time. Why are you using such an outdated version? – Jun 09 '19 at 00:20
-
It most probably has to do with the change in [bytea output encoding](https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-BYTEA-OUTPUT) introduced in 9.4 – Jun 09 '19 at 00:24
1 Answers
-1
You can replace the "path separator" in the path, you can replace with the separator of system. For example in java to use java.io.File.separator.

Ronny V
- 13
- 4