Skip to content

Commit

Permalink
fix: test_schema_qualification
Browse files Browse the repository at this point in the history
pg17 started automatically creating an array type for all types, so our
test for "accidental stabilization" had the be taught about them.
  • Loading branch information
JamesGuthrie committed Nov 13, 2024
1 parent afbd844 commit 6e56fba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extension/src/stabilization_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ mod tests {
return None;
}

if stable_types.contains(ty) {
// PG17 started automatically creating an array type for types, so we need
// to take those into account.
let ty_no_array = ty.replace("[]", "");

if stable_types.contains(ty) || stable_types.contains(&ty_no_array) {
return None;
}

Expand Down

0 comments on commit 6e56fba

Please sign in to comment.