Use pg_loreadall to load lo from PostgreSQL
Use pg_loreadall to load lo from PostgreSQL

Use pg_loreadall instead of pg_lo_export to read PDF resource from PostgreSQL database, using the application/pdf MIME type to ensure the file is rendered as a PDF file.
theta-app/theta,theta-app/theta,theta-app/theta