Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 17841)
+++ trunk/psLib/src/db/psDB.c	(revision 17842)
@@ -23,5 +23,5 @@
  * 4.1.2 or newer is required.
  *
- * $Id: psDB.c,v 1.155 2008-05-29 02:43:04 jhoblitt Exp $
+ * $Id: psDB.c,v 1.156 2008-05-29 02:53:20 jhoblitt Exp $
  */
 
@@ -1709,5 +1709,6 @@
         int             errbuf_size = 1024;
         char            errbuf[errbuf_size];
-        char            *pattern = "INDEX[:space:]*[(]([^)]*)";
+        // don't accidentally match uindex
+        char            *pattern = "[^U]INDEX[:space:]*[(]([^)]*)";
 
         int status = regcomp(&myregex, pattern, REG_EXTENDED|REG_ICASE);
