SEVERE  RDB::query() query error
Array
(
    [query] => 
                SELECT table_name, column_name, data_type, column_default, 
                  CASE is_nullable WHEN 'YES' THEN 1 ELSE 0 END AS is_nullable,
                  substring(column_default FROM '^nextval\\(\'(.*)\'::regclass\\)') AS sequence_name
                FROM information_schema.columns
                WHERE table_schema = 'public'
            
    [0] => 42601
    [1] => syntax error at or near "("
)
$r$tpl$_SESSION$_POST$_GET$_FILES
/lib/rain/RDB.php:775, RDB::getArray(...)
ERROR:  syntax error at or near "("
LINE 4: ...      substring(column_default FROM '^nextval\\(\'(.*)\'::re...
                                                             ^

                SELECT table_name, column_name, data_type, column_default, 
                  CASE is_nullable WHEN 'YES' THEN 1 ELSE 0 END AS is_nullable,
                  substring(column_default FROM '^nextval\\(\'(.*)\'::regclass\\)') AS sequence_name
                FROM information_schema.columns
                WHERE table_schema = 'public'

 768  
 769  
 770          $this->queryType "getArray:$associateBy:$groupBy";
 771  
 772          if ($groupBy == null$groups[0] = array();
 773          else                  $groups = array();
 774  
 775          if ($this->query($query$showOnly)) {
 776  
 777              if ($this->proxyRole == "client") {
 778                  return $this->response["data"];
 779  
 780              } else {
 781                  if (is_array($pager)) {
 782                      // Pocet vsetkych zaznamov
/lib/rain/RDB.php:1305, RDB::getTableStructure()
/lib/rain/RDataObject.php:311, RDataObject::generateStructure()
/lib/rain/RDataObject.php:183, RDataObject::__construct()
/modules/News/src/News.php:53, News::view()
/lib/rain/RModule.php:335, RModule::bindMethod()
/modules/News/src/News.php:21, News::show()
/lib/rain/R.php:1463, R::run()
/index.php:132