diff --git a/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php b/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php index cff3bbc10a..c29b7aba65 100644 --- a/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php +++ b/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php @@ -576,6 +576,9 @@ select viewname,'V' from pg_views where viewname like $mask"; { global $ADODB_FETCH_MODE; + // table-name must NOT be quoted, otherwise we will not find any index + $table = str_replace($this->nameQuote, '', $table); + $schema = false; $this->_findschema($table,$schema);