Skip to content

Unnecessary pg_dump dependency check when providing a pre-existing dump file #6

@amrutadotorg

Description

@amrutadotorg

Hello,

The script currently checks for the pg_dump command every time it runs, right at the start.

Because of this, if pg_dump is not installed, the script exits with an error even when a user provides a pre-existing .dump file. The expected behavior would be for the script to use the existing file and proceed with the conversion, as pg_dump is not needed in that scenario.

This issue prevents the script from being used for simple offline conversions in environments where the PostgreSQL client tools aren't available.

Thanks.

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