Skip to content

sync fails when a database has no sequences. #515

Closed
@vjeeva

Description

@vjeeva

Describe the bug
If a source DB does not have any sequences, when running sync it bombs out.

Excerpt

AttributeError: 'NoneType' object has no attribute 'decode'

Seems pgbelt.utils.postgres.py load_sequences always tries to run even with an empty dict. Need to not fail on that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions