Skip to main content

Module sequences

Module sequences 

Source
Expand description

Sequence-level diffing.

Pairs sequences by QualifiedName. Sequences that are owned by a column (OWNED BY table.column) are skipped — they are managed implicitly via the owning column’s identity / generated specification, and emitting independent sequence ops for them would conflict with the column-driven changes.

START is intentionally absent from SequenceOp (Postgres requires RESTART, which has different semantics). When start differs we emit a drop+create pair so the new starting point is honored.

Functions§

diff_sequences
Diff sequences in target against source, appending entries to out.