agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Expose helper functions scan_quoted_identifier and scan_identifi
Date: Mon, 06 Apr 2026 15:19:13 +0000
Message-ID: <E1w9ljN-003FKD-05@gemulon.postgresql.org> (raw)

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@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.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(-)



Message-ID: <E1w9ljN-003FKD-05@gemulon.postgresql.org>
Permalink:  ../E1w9ljN-003FKD-05@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w9ljN-003FKD-05@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Expose helper functions scan_quoted_identifier and scan_identifi
  In-Reply-To: <E1w9ljN-003FKD-05@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox