diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2007-11-25 19:35:41 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2007-11-25 19:35:41 +0000 |
commit | 5575826b70e3aa6eb836ae01ba578257c0da4c7c (patch) | |
tree | 6f0e0ff3d0d7044f133a60950bbcdf8b12329771 /src | |
parent | 3de1f0daac2772d01086ad9a06a428c36648dd02 (diff) | |
download | postgresql-5575826b70e3aa6eb836ae01ba578257c0da4c7c.tar.gz postgresql-5575826b70e3aa6eb836ae01ba578257c0da4c7c.zip |
Allow for X as well as x to be the prefix for hexadecimal character ref entity numbers,
as in HTML.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/tsearch/wparser_def.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/tsearch/wparser_def.c b/src/backend/tsearch/wparser_def.c index df32e285f07..b0a302b2eab 100644 --- a/src/backend/tsearch/wparser_def.c +++ b/src/backend/tsearch/wparser_def.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.12 2007/11/25 15:37:11 adunstan Exp $ + * $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.13 2007/11/25 19:35:41 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -836,6 +836,7 @@ static const TParserStateActionItem actionTPS_InXMLEntity[] = { static const TParserStateActionItem actionTPS_InXMLEntityNumFirst[] = { {p_isEOF, 0, A_POP, TPS_Null, 0, NULL}, {p_iseqC, 'x', A_NEXT, TPS_InXMLEntityHexNumFirst, 0, NULL}, + {p_iseqC, 'X', A_NEXT, TPS_InXMLEntityHexNumFirst, 0, NULL}, {p_isdigit, 0, A_NEXT, TPS_InXMLEntityNum, 0, NULL}, {NULL, 0, A_POP, TPS_Null, 0, NULL} }; |