Skip to content

Commit d9f648e

Browse files
committed
revert: remove type cast to demonstrate CI test failure
Temporarily remove the ::int2[] cast on key_cols parameter to verify that the new CI test correctly catches the operator ambiguity error. This commit is expected to fail CI tests. Related to #62
1 parent 8d02175 commit d9f648e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/i3_non_indexed_fks.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ with fk_actions ( code, action ) as (
6363
join fk_cols_list using (fkoid)
6464
left join index_list on
6565
conrelid = indrelid
66-
and (indkey::int2[])[0:(array_length(key_cols,1) -1)] operator(pg_catalog.@>) key_cols::int2[]
66+
and (indkey::int2[])[0:(array_length(key_cols,1) -1)] operator(pg_catalog.@>) key_cols
6767

6868
), fk_perfect_match as (
6969
select fkoid

0 commit comments

Comments
 (0)