mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Make text search parser accept underscores in XML attributes (bug #5075)
This commit is contained in:
parent
caf9c830d9
commit
66363e8d6d
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.24 2009/07/16 06:33:44 petere Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.25 2009/11/15 13:57:01 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1225,6 +1225,7 @@ static const TParserStateActionItem actionTPS_InTag[] = {
|
||||
{p_isdigit, 0, A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, '=', A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, '-', A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, '_', A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, '#', A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, '/', A_NEXT, TPS_Null, 0, NULL},
|
||||
{p_iseqC, ':', A_NEXT, TPS_Null, 0, NULL},
|
||||
|
Loading…
Reference in New Issue
Block a user