UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 15 Nov 2013 04:59:06 +0000 (12:59 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Nov 2013 04:59:06 +0000 (12:59 +0800)
UpdateDatabase.php

index 9ce57c4..802ce86 100644 (file)
@@ -184,7 +184,7 @@ class Pman_Xtuple_UpdateDatabase extends Pman
         $cs = DB_DataObject::factory('core_enum');
          $cs->query("
                SELECT  'SELECT SETVAL(' ||
-                         quote_literal(quote_ident(nspname) || '.' || quote_ident(S.relname))||
+                         quote_literal(quote_ident(nspname) || '.' || quote_ident(S.relname)) ||
                         ', MAX(' || quote_ident(C.attname)|| ') )  FROM ' || nspname || '.' || quote_ident(T.relname)|| ';' as cmd 
                 FROM pg_class AS S,
                     pg_depend AS D,