Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot list indexes of a table if schema is not in search path #2562
Steps to reproduce
Then call the GetIndexes request :
The GetIndexes method returns 0 results. I'm expecting my indexes to be listed.
This method returns 0 results because the request use the pg_table_is_visible function which check if the current table is in the search path (https://www.postgresql.org/docs/9.5/functions-info.html#FUNCTIONS-INFO-SCHEMA-TABLE).
Also when trying to generate DDL with NHibernate, indexes are always regenerated.