1

I need to insert my ml_model.pkl file/object in Postgres DB bytea column.

Is it possible to insert any files in Postgres DB bytea column?

Raj Mohan
  • 11
  • 1
  • Use blobs - https://www.postgresql.org/docs/current/datatype-binary.html - https://stackoverflow.com/questions/4386030/how-to-use-blob-datatype-in-postgres. Hope this is helpful – David Aug 01 '22 at 09:47
  • Please provide enough code so others can better understand or reproduce the problem. – Community Aug 01 '22 at 14:05

0 Answers0