This library provides some convenience functions for working with Large Objects in PostgreSQL. This is built on top of postgresql-simple, which provides the lower-level functions for interacting with Large Objects.
obsidiansystems/postgresql-lo-stream
Library for streaming large objects to and from PostgreSQL in Haskell
HaskellBSD-3-Clause