Skip to content

Tests the analysis of the first two PgExclusion slices found missing #84

Closed

Description

@CaffeinatedCoder

Found by the analysis of #77 and #79: defects seeded into a scratch copy that every test, live ones included, still passed. None was among the mutations listed in those PRs.

Seeded defect Missing test
EnsureExtension is handed the source model instead of the target A diff from a model without the constraint to one that suppresses, and to one that declares the extension, holds no CREATE EXTENSION
Only the first element is judged for btree_gist Overlaps(Period).Equal(RoomId) gets the extension
An expression counts only when compared by = An expression compared by <> or < under GiST gets the extension
Plan ignores a change of condition, of access method, or of elements A named constraint whose condition, or one operator, changes is dropped and added, offline and live
The condition is written as operational, so it leaves an unnamed declaration's key A pinned key of an unnamed constraint with a condition; two unnamed constraints that differ in the condition alone have two keys
TableMoved answered Unaffected; the constraint's name qualified with the table's schema A table moved to another schema, offline and live

Claims returning nothing changes no result either: nothing asks yet (#44).

Activity

  1. added this to the 11.0.0 milestone on Nov 12, 2026
  2. added
    tests
    package/core
    package/postgresql
    area/constraints
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/constraintspackage/corepackage/postgresqltests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions