Index: trunk/ippTools/src/pxadmin.c
===================================================================
--- trunk/ippTools/src/pxadmin.c	(revision 26981)
+++ trunk/ippTools/src/pxadmin.c	(revision 42387)
@@ -184,4 +184,20 @@
         psString dbName = name->data.str;
 
+	// if name is e.g., gpc1, strcasecmp returns FALSE
+	bool allowDelete = true;
+	allowDelete = allowDelete && strcasecmp(dbName, "gpc1");  
+	allowDelete = allowDelete && strcasecmp(dbName, "gpc2");  
+	allowDelete = allowDelete && strcasecmp(dbName, "nebulous");  
+	allowDelete = allowDelete && strcasecmp(dbName, "isp");  
+	allowDelete = allowDelete && strcasecmp(dbName, "ssp");  
+	allowDelete = allowDelete && strcasecmp(dbName, "uic");  
+	allowDelete = allowDelete && strcasecmp(dbName, "hsc_v1");  
+	allowDelete = allowDelete && strcasecmp(dbName, "megacam_v1");  
+
+	if (!allowDelete) {
+            fprintf (stdout, "**** WARNING: not allowed to delete database %s.\n", dbName);
+            return false;
+        }
+
         fprintf(stdout, "*** delete the tables from database %s? ***\n", dbName);
         fprintf(stdout, "*** to delete the tables, answer YES, and give password ***\n");
