1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Fix crash on compiling a regular expression with more than 32k colors.

Throw an error instead.

Backpatch to all supported branches.
This commit is contained in:
Heikki Linnakangas
2013-04-04 19:04:57 +03:00
parent eb1656b813
commit aae32bad9e
4 changed files with 14 additions and 0 deletions

View File

@ -77,3 +77,7 @@
{
REG_ETOOBIG, "REG_ETOOBIG", "nfa has too many states"
},
{
REG_ECOLORS, "REG_ECOLORS", "too many colors"
},