Fix crash on compiling a regular expression with more than 32k colors.
Throw an error instead.
Backpatch to all supported branches.
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/c99e0d382f811cf0fbad50e912183ed4eb7b8de8
Modified Files
--------------
src/backend/regex/regc_color.c | 8 ++++++++
src/include/regex/regerrs.h | 4 ++++
src/include/regex/regex.h | 1 +
src/include/regex/regguts.h | 1 +
4 files changed, 14 insertions(+), 0 deletions(-)