7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.27 2010/01/02 16:57:53 momjian Exp $
10
+ * $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.28 2010/03/13 00:41:58 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -1047,6 +1047,7 @@ static const TParserStateActionItem actionTPS_InAsciiWord[] = {
1047
1047
{p_iseqC ,'.' ,A_PUSH ,TPS_InFileNext ,0 ,NULL },
1048
1048
{p_iseqC ,'-' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1049
1049
{p_iseqC ,'-' ,A_PUSH ,TPS_InHyphenAsciiWordFirst ,0 ,NULL },
1050
+ {p_iseqC ,'_' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1050
1051
{p_iseqC ,'@' ,A_PUSH ,TPS_InEmail ,0 ,NULL },
1051
1052
{p_iseqC ,':' ,A_PUSH ,TPS_InProtocolFirst ,0 ,NULL },
1052
1053
{p_iseqC ,'/' ,A_PUSH ,TPS_InFileFirst ,0 ,NULL },
@@ -1375,6 +1376,7 @@ static const TParserStateActionItem actionTPS_InHostDomainSecond[] = {
1375
1376
{p_isasclet ,0 ,A_NEXT ,TPS_InHostDomain ,0 ,NULL },
1376
1377
{p_isdigit ,0 ,A_PUSH ,TPS_InHost ,0 ,NULL },
1377
1378
{p_iseqC ,'-' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1379
+ {p_iseqC ,'_' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1378
1380
{p_iseqC ,'.' ,A_PUSH ,TPS_InHostFirstDomain ,0 ,NULL },
1379
1381
{p_iseqC ,'@' ,A_PUSH ,TPS_InEmail ,0 ,NULL },
1380
1382
{NULL ,0 ,A_POP ,TPS_Null ,0 ,NULL }
@@ -1386,6 +1388,7 @@ static const TParserStateActionItem actionTPS_InHostDomain[] = {
1386
1388
{p_isdigit ,0 ,A_PUSH ,TPS_InHost ,0 ,NULL },
1387
1389
{p_iseqC ,':' ,A_PUSH ,TPS_InPortFirst ,0 ,NULL },
1388
1390
{p_iseqC ,'-' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1391
+ {p_iseqC ,'_' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1389
1392
{p_iseqC ,'.' ,A_PUSH ,TPS_InHostFirstDomain ,0 ,NULL },
1390
1393
{p_iseqC ,'@' ,A_PUSH ,TPS_InEmail ,0 ,NULL },
1391
1394
{p_isdigit ,0 ,A_POP ,TPS_Null ,0 ,NULL },
@@ -1422,6 +1425,7 @@ static const TParserStateActionItem actionTPS_InHost[] = {
1422
1425
{p_iseqC ,'@' ,A_PUSH ,TPS_InEmail ,0 ,NULL },
1423
1426
{p_iseqC ,'.' ,A_PUSH ,TPS_InHostFirstDomain ,0 ,NULL },
1424
1427
{p_iseqC ,'-' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1428
+ {p_iseqC ,'_' ,A_PUSH ,TPS_InHostFirstAN ,0 ,NULL },
1425
1429
{NULL ,0 ,A_POP ,TPS_Null ,0 ,NULL }
1426
1430
};
1427
1431