From dc696455ccdda25d9fc275067eed7edfb0d0efd6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Aug 2015 11:09:55 +0000 Subject: [PATCH] * Backup/PostgreSQL: indexes were not reported for backup because of quoting of table-name --- phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php | 3 +++ 1 file changed, 3 insertions(+) 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);