Expose helper functions scan_quoted_identifier and scan_identifier. Previously, this logic was embedded within SplitIdentifierString, SplitDirectoriesString, and SplitGUCList. Factoring it out saves a bit of duplicated code, and also makes it available to extensions that might want to do similar things without necessarily wanting to do exactly the same thing.
Reviewed-by: Matheus Alcantara <[email protected]> Reviewed-by: Lukas Fittl <[email protected]> Discussion: http://postgr.es/m/ca+tgmob-0w8306mvrjx5urtqt1aaasu8pi4ylrz1xfwzu-u...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e0e819cc08d3dc6fe843779c2bb3388135d20d14 Modified Files -------------- src/backend/utils/adt/varlena.c | 189 +++++++++++++++++++++------------------- src/include/utils/varlena.h | 3 + 2 files changed, 102 insertions(+), 90 deletions(-)
