add sql statement for pgsql in TableList()

This commit is contained in:
Uwe Steinmann 2017-02-14 17:27:38 +01:00
parent bfbd845bab
commit a18b3c6879

View File

@ -117,6 +117,9 @@ class SeedDMS_Core_DatabaseAccess {
case 'sqlite':
$sql = "select tbl_name as name from sqlite_master where type='table'";
break;
case 'pgsql':
$sql = "select tablename as name from pg_catalog.pg_tables where schemaname='public'";
break;
default:
return false;
}