Skip to content

Error checking missing for schema loading #55

Open
@betelgeuse

Description

@betelgeuse

Open3.capture3(psql_load_command)

This does not do any checks on whether the schema loading actually worked.

I noticed this due to the dump failing to load by not finding a needed function.

The schema should be loaded with the following additional options and then the exit status checked:

psql -v ON_ERROR_STOP=true --single-transaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions