Skip site navigation (1) Skip section navigation (2)

pgsql: Fix RS_isRegis() to agree exactly with RS_compile()'s idea of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix RS_isRegis() to agree exactly with RS_compile()'s idea of
Date: 2008-01-21 02:46:11
Message-ID: 20080121024611.2635E754108@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix RS_isRegis() to agree exactly with RS_compile()'s idea of what's a valid
regis.  Correct the latter's oversight that a bracket-expression needs to be
terminated.  Reduce the ereports to elogs, since they are now not expected to
ever be hit (thus addressing Alvaro's original complaint).
In passing, const-ify the string argument to RS_compile.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        regis.c (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/regis.c?r1=1.3&r2=1.4)
        spell.c (r1.10 -> r1.11)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/spell.c?r1=1.10&r2=1.11)
    pgsql/src/include/tsearch/dicts:
        regis.h (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/tsearch/dicts/regis.h?r1=1.4&r2=1.5)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-01-21 03:28:42
Subject: pgsql: Improve description of bgwriter_lru_multiplier, per discussion.
Previous:From: User H-saitoDate: 2008-01-21 02:27:17
Subject: psqlodbc - psqlodbc: Compile of SSPI cannot be supported in VC+6.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group