projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31499ec
)
Allow for X as well as x to be the prefix for hexadecimal character ref entity numbers,
author
Andrew Dunstan
<andrew@dunslane.net>
Sun, 25 Nov 2007 19:35:41 +0000
(19:35 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Sun, 25 Nov 2007 19:35:41 +0000
(19:35 +0000)
as in HTML.
src/backend/tsearch/wparser_def.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tsearch/wparser_def.c
b/src/backend/tsearch/wparser_def.c
index 727e1b3cb5a3134285fbf00d5a0906f7136c9c8f..6ce429883b5d4973d7b839df546bbb1a1984e711 100644
(file)
--- a/
src/backend/tsearch/wparser_def.c
+++ b/
src/backend/tsearch/wparser_def.c
@@
-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}
};