Skip to content

Commit 66363e8

Browse files
committed
Make text search parser accept underscores in XML attributes (bug #5075)
1 parent caf9c83 commit 66363e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/tsearch/wparser_def.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.24 2009/07/16 06:33:44 petere Exp $
10+
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.25 2009/11/15 13:57:01 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1225,6 +1225,7 @@ static const TParserStateActionItem actionTPS_InTag[] = {
12251225
{p_isdigit, 0, A_NEXT, TPS_Null, 0, NULL},
12261226
{p_iseqC, '=', A_NEXT, TPS_Null, 0, NULL},
12271227
{p_iseqC, '-', A_NEXT, TPS_Null, 0, NULL},
1228+
{p_iseqC, '_', A_NEXT, TPS_Null, 0, NULL},
12281229
{p_iseqC, '#', A_NEXT, TPS_Null, 0, NULL},
12291230
{p_iseqC, '/', A_NEXT, TPS_Null, 0, NULL},
12301231
{p_iseqC, ':', A_NEXT, TPS_Null, 0, NULL},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy