I am storing image files (like jpg
, png
) in a PostgreSQL database. I found information on how to do that here.
Likewise, I want to store videos in a PostgreSQL database. I searched the net - some say one should use a data type such as bytea
to store binary data.
Can you tell me how to use a bytea
column to store videos?
IMAGE
type in PostgreSQL, unless you've created it withCREATE TYPE
yourself (presumably based onBYTEA
). How would storing a video be different from storing an image? – Enthuse