summaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2025-09-24 14:57:26 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2025-09-24 14:57:26 +0200
commit711ccce38f222e9988882493d95f244e2b02744f (patch)
tree7720fa896f8dec825f81d56002d871a993bf8c9a /src/backend/utils/cache/syscache.c
parent5334620eef8f7b429594e6cf9dc97331eda2a8bd (diff)
Consistently handle tab delimiters for wait event names
Format validation and element extraction for intermediate line strings were inconsistent in their handling of tab delimiters, which resulted in an unclear error when multiple tab characters were used as a delimiter. This fixes it by using captures from the validation regex instead of a separate split() to avoid the inconsistency. Also, it ensures that \t+ is used consistently when inspecting the strings. Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/20250729.135638.1148639539103758555.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
0 files changed, 0 insertions, 0 deletions