Skip to content

Commit ff2fa88

Browse files
committed
Get all indexes from schema
Not just those that are visible based on search_path. Fixes #2958
1 parent c954f6a commit ff2fa88

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Npgsql/NpgsqlSchema.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ pg_class t
385385
WHERE
386386
ix_cls.relkind = 'i' AND
387387
t_ns.nspname NOT IN ('pg_catalog', 'pg_toast') AND
388-
pg_catalog.pg_table_is_visible(ix_cls.oid) AND
389388
a.attnum = ANY(ix.indkey) AND
390389
t.relkind = 'r'");
391390

0 commit comments

Comments
 (0)