mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Make text search parser accept underscores in XML attributes (bug #5075)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.23 2009/03/11 16:03:40 teodor Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.23.2.1 2009/11/15 13:55:42 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},
|
||||
|
Reference in New Issue
Block a user