Use named captures in Catalog::ParseHeader()
Michael Paquier <michael@paquier.xyz>
Use named captures in Catalog::ParseHeader() Using at least perl 5.14 is required since 4c15327, meaning that it is possible to use named captures and the %+ hash instead of having to count parenthesis groups manually. While on it, CATALOG is made more flexible in its handling of whitespaces for parameter lists (see the addition of \s* in this case). The generated postgres.bki remains exactly the same before and after this commit. Author: Dagfinn Ilmari Mannsåker Reviewed-by: John Naylor Discussion: https://postgr.es/m/87y1l3s7o9.fsf@wibble.ilmari.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/Catalog.pm | modified | +50 −35 |
Discussion
- [PATCH] Using named captures in Catalog::ParseHeader() 7 messages · 2023-06-01 → 2023-06-30