Skip to content

Keep Demos on Disk ? #33

@jayceslesar

Description

@jayceslesar

Might not be the wisest idea to keep demos in the DB, but we can back them out with the following query at least:

\copy (
     SELECT loid, STRING_AGG(data, '' ORDER BY pageno) AS all_data
     FROM pg_largeobject
     JOIN demo_sessions demo ON demo.demo_oid = pg_largeobject.loid
     WHERE demo.session_id = 'some_session_id'
     GROUP BY loid
 ) TO '/home/worker/asdf.dem' WITH BINARY;

It might be beneficial to keep them on disk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions