pgsql: Expose helper functions scan_quoted_identifier and scan_identifi

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expose helper functions scan_quoted_identifier and scan_identifi
Date: 2026-04-06 15:19:13
Message-ID: E1w9ljN-003FKD-05@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <matheusssilv97(at)gmail(dot)com>
Reviewed-by: Lukas Fittl <lukas(at)fittl(dot)com>
Discussion: http://postgr.es/m/CA+Tgmob-0W8306mvrJX5Urtqt1AAasu8pi4yLrZ1XfwZU-Uj1w@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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-04-06 15:57:26 Re: pgsql: Reduce log level of some logical decoding messages from LOG to D
Previous Message Daniel Gustafsson 2026-04-06 14:57:43 Re: pgsql: Online enabling and disabling of data checksums