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
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.14.2.5 2009/03/10 17:33:53 teodor Exp $
|
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.14.2.6 2009/11/15 13:54:22 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@@ -936,6 +936,7 @@ static const TParserStateActionItem actionTPS_InTag[] = {
|
|||||||
{p_isdigit, 0, A_NEXT, TPS_Null, 0, NULL},
|
{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},
|
{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