News for hackers. Stuff that matters.
Re:File Attachments: Databases can now store files and images by mohamedattahri on Wednesday August 30, 2023 @01:25PM (#37325611)
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

Large Objects: https://www.postgresql.org/docs/current/largeobjects.html

Re:File Attachments: Databases can now store files and images by dventimi on Wednesday August 30, 2023 @02:04PM (#37326284)
Large Objects works great for images and stylesheets and other file assets for my small PostgREST projects.
Re:File Attachments: Databases can now store files and images by ibgeek on Wednesday August 30, 2023 @04:15PM (#37328352)
TIL thanks!