| 1930 | |
| 1931 | |
| 1932 | void |
| 1933 | ExplainRegularIndexScanToWriter(IndexScanDesc scan, pgbson_writer *writer) |
| 1934 | { |
| 1935 | if (IsBsonRegularIndexAm(scan->indexRelation->rd_rel->relam)) |
| 1936 | { |
| 1937 | /* See if there's a hook to explain more in this index */ |
| 1938 | ExplainWriterFuncs writerFuncs = GetForBsonWriter(); |
| 1939 | TryExplainByIndexAm(scan, &writerFuncs, writer); |
| 1940 | } |
| 1941 | } |
| 1942 | |
| 1943 | |
| 1944 | void |
no test coverage detected