mirror of https://github.com/citusdata/citus.git
PG18: Normalize EXPLAIN ANALYZE output for drop “Index Searches” line (#8291)
fixes #8265
0fbceae841
PostgreSQL 18 started printing an extra line in `EXPLAIN (ANALYZE …)`
for index scans:
```
Index Searches: N
```
**normalize.sed**: add a rule to remove the PG18-only line
```
/^\s*Index Searches:\s*\d+\s*$/d
```
pull/8258/head
parent
785a87c659
commit
dba9379ea5
|
|
@ -375,3 +375,6 @@ s/\<is referenced from table\>/is still referenced from table/g
|
||||||
# pg18 extension_control_path GUC debugs
|
# pg18 extension_control_path GUC debugs
|
||||||
# ignore any "find_in_path:" lines in test output
|
# ignore any "find_in_path:" lines in test output
|
||||||
/DEBUG: find_in_path: trying .*/d
|
/DEBUG: find_in_path: trying .*/d
|
||||||
|
|
||||||
|
# PG18: EXPLAIN ANALYZE prints "Index Searches: N" for index scans — remove it
|
||||||
|
/^\s*Index Searches:\s*\d+\s*$/d
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue