| 1898 | |
| 1899 | |
| 1900 | void |
| 1901 | ExplainCompositeScan(IndexScanDesc scan, ExplainState *es) |
| 1902 | { |
| 1903 | if (!IsCompositeOpClass(scan->indexRelation)) |
| 1904 | { |
| 1905 | return; |
| 1906 | } |
| 1907 | |
| 1908 | if (scan->indexRelation->rd_opcoptions != NULL) |
| 1909 | { |
| 1910 | const char *keyString = SerializeCompositeIndexKeyForExplain( |
| 1911 | scan->indexRelation->rd_opcoptions[0]); |
| 1912 | ExplainPropertyText("indexKey", keyString, es); |
| 1913 | } |
| 1914 | |
| 1915 | ExplainWriterFuncs writerFuncs = GetForExplain(); |
| 1916 | ExplainCompositeScanCore(scan, es, &writerFuncs); |
| 1917 | } |
| 1918 | |
| 1919 | |
| 1920 | void |
no test coverage detected