mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add sql statement for pgsql in TableList()
This commit is contained in:
parent
bfbd845bab
commit
a18b3c6879
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user