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
Mehmet YILMAZ 2025-10-27 14:37:20 +03:00 committed by GitHub
parent 785a87c659
commit dba9379ea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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