Skip to content

Commit 7901676

Browse files
authored
fix: exclude partitioned indexes when swapping owners (#1216)
1 parent 748cb91 commit 7901676

File tree

1 file changed

+1
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+1
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ declare
196196
where true
197197
and n.nspname != 'information_schema'
198198
and not starts_with(n.nspname, 'pg_')
199-
and c.relkind not in ('c', 'i')
199+
and c.relkind not in ('c', 'i', 'I')
200200
);
201201
rec record;
202202
obj jsonb;

0 commit comments

Comments
 (0)