-
- Downloads
Change pg_amop's index on (amopclaid,amopopr) to index (amopopr,amopclaid).
This makes no difference for existing uses, but allows SelectSortFunction() and pred_test_simple_clause() to use indexscans instead of seqscans to locate entries for a particular operator in pg_amop. Better yet, they can use the SearchSysCacheList() API to cache the search results.
Showing
- src/backend/optimizer/path/indxpath.c 71 additions, 80 deletionssrc/backend/optimizer/path/indxpath.c
- src/backend/utils/cache/lsyscache.c 3 additions, 3 deletionssrc/backend/utils/cache/lsyscache.c
- src/backend/utils/cache/syscache.c 2 additions, 2 deletionssrc/backend/utils/cache/syscache.c
- src/backend/utils/sort/tuplesort.c 15 additions, 18 deletionssrc/backend/utils/sort/tuplesort.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/indexing.h 3 additions, 3 deletionssrc/include/catalog/indexing.h
Loading
Please register or sign in to comment