4 ms·
BLOB on Postgres are awesome, but there's also a full-featured file API called Large Objects for when the use-case requires seeking/streaming. Wrote a small Go
by mohamedattahri 3y ago
BLOB on Postgres are awesome, but there's also a full-featured file API called Large Objects for when the use-case requires seeking/streaming.
Wrote a small Go library to interface with it: https://github.com/mohamedattahri/pgfs https://github.com/mohamedattahri/pgfs
Large Objects: https://www.postgresql.org/docs/current/largeobjects.html https://www.postgresql.org/docs/current/largeobjects.html