pgsql: Create the beginnings of internals documentation for the regex c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Create the beginnings of internals documentation for the regex c
Date
Msg-id E1RzGeH-0000vp-LU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Create the beginnings of internals documentation for the regex code.

Create src/backend/regex/README to hold an implementation overview of
the regex package, and fill it in with some preliminary notes about
the code's DFA/NFA processing and colormap management.  Much more to
do there of course.

Also, improve some code comments around the colormap and cvec code.
No functional changes except to add one missing assert.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/27af91438b68f46f4015853b6f75c6f5c3a8650c

Modified Files
--------------
src/backend/regex/README      |  291 +++++++++++++++++++++++++++++++++++++++++
src/backend/regex/regc_cvec.c |   13 ++-
src/backend/regex/regcomp.c   |    1 +
src/include/regex/regguts.h   |   54 ++++++--
4 files changed, 343 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Improve pretty printing of viewdefs.
Next
From: Tom Lane
Date:
Subject: pgsql: Add caching of ctype.h/wctype.h results in regc_locale.c.