Created
August 6, 2019 10:16
-
-
Save endenis/1e8372f878c7f8979a13ac80faa616e1 to your computer and use it in GitHub Desktop.
postgresql display invalid indexes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM pg_class, pg_index WHERE pg_index.indisvalid = false AND pg_index.indexrelid = pg_class.oid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment