Skip to content

[Snapshots] PK snapshot: schema preflight category + SnapshotKeyCheck #935

Description

@kvch

What to build

New CategorySchema + BuildSchemaChecks + --schema flag on checkCmd; SnapshotKeyCheck emits a blocking finding for pk-strategy tables lacking a usable key.

Requirements

  • pgstream check --schema flags a keyless table with remediation in the message
  • Passes when keys resolve; returns Go error only on connect/query failure

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsnapshotSnapshot related work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions