Skip to content

Commit 6e56fba

Browse files
committed
fix: test_schema_qualification
pg17 started automatically creating an array type for all types, so our test for "accidental stabilization" had the be taught about them.
1 parent afbd844 commit 6e56fba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

extension/src/stabilization_tests.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ mod tests {
5555
return None;
5656
}
5757

58-
if stable_types.contains(ty) {
58+
// PG17 started automatically creating an array type for types, so we need
59+
// to take those into account.
60+
let ty_no_array = ty.replace("[]", "");
61+
62+
if stable_types.contains(ty) || stable_types.contains(&ty_no_array) {
5963
return None;
6064
}
6165

0 commit comments

Comments
 (0)