Index: /trunk/glueforge/templates/psdb/alloc_c.tt
===================================================================
--- /trunk/glueforge/templates/psdb/alloc_c.tt	(revision 11677)
+++ /trunk/glueforge/templates/psdb/alloc_c.tt	(revision 11678)
@@ -26,5 +26,16 @@
 
 [% FOREACH item = table.columns -%]
-[% IF item.type == "S32" or item.type == "F32" or item.type == "F64" or item.type == "BOOL" -%]
+[% IF item.type == "U8"
+   or item.type == "U16"
+   or item.type == "U32"
+   or item.type == "U64"
+   or item.type == "S8"
+   or item.type == "S16"
+   or item.type == "S32"
+   or item.type == "S64"
+   or item.type == "F32"
+   or item.type == "F64"
+   or item.type == "BOOL" 
+-%]
         if (!object->[% item.name %] == [% item.test %]) {
 [% ELSIF item.type == "STR" -%]
Index: /trunk/glueforge/templates/psdb/dbcleanup_c.tt
===================================================================
--- /trunk/glueforge/templates/psdb/dbcleanup_c.tt	(revision 11677)
+++ /trunk/glueforge/templates/psdb/dbcleanup_c.tt	(revision 11678)
@@ -6,5 +6,5 @@
     psDB            *dbh;
 
-    dbh = psDBInit("localhost", "test", NULL, "test");
+    dbh = psDBInit("localhost", "test", NULL, "test", 0);
     if (!dbh) {
         exit(EXIT_FAILURE);
Index: /trunk/glueforge/templates/psdb/dbsetup_c.tt
===================================================================
--- /trunk/glueforge/templates/psdb/dbsetup_c.tt	(revision 11677)
+++ /trunk/glueforge/templates/psdb/dbsetup_c.tt	(revision 11678)
@@ -7,5 +7,5 @@
     psDB            *dbh;
 
-    dbh = psDBInit("localhost", "test", NULL, "test");
+    dbh = psDBInit("localhost", "test", NULL, "test", 0);
     if (!dbh) {
         exit(EXIT_FAILURE);
Index: /trunk/glueforge/templates/psdb/deleteobject.tt
===================================================================
--- /trunk/glueforge/templates/psdb/deleteobject.tt	(revision 11677)
+++ /trunk/glueforge/templates/psdb/deleteobject.tt	(revision 11678)
@@ -3,5 +3,5 @@
     psMetadata *where = [% table.namespace %]MetadataFromObject(object);
     long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, 0);
-    psFree(where)
+    psFree(where);
     if (count < 0) {
         psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]");
Index: /trunk/glueforge/templates/psdb/deleterowobjects.tt
===================================================================
--- /trunk/glueforge/templates/psdb/deleterowobjects.tt	(revision 11677)
+++ /trunk/glueforge/templates/psdb/deleterowobjects.tt	(revision 11678)
@@ -7,5 +7,5 @@
         psMetadata *where = [% table.namespace %]MetadataFromObject(object);
         long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, limit);
-        psFree(where)
+        psFree(where);
         if (count < 0) {
             psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]");
