Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmstestsuite/unit_tests/schema_diff_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def split_schema(schema: str) -> list[list[str]]:
or line.startswith("--")
or line.startswith("\\restrict")
or line.startswith("\\unrestrict")
# Some PostgreSQL servers expose an internal per-column option
# (pg_attver) that newer pg_dump clients print for every column;
# it is not part of the schema we want to compare.
or (line.startswith("ALTER TABLE ") and " SET (pg_attver=" in line)
):
continue
cur_statement.append(line)
Expand Down
Loading