Update system table method for postgres
This commit is contained in:
parent
66c21338d0
commit
1211ed6347
@ -191,8 +191,11 @@ SQL;
|
|||||||
public function system_table_list()
|
public function system_table_list()
|
||||||
{
|
{
|
||||||
return <<<SQL
|
return <<<SQL
|
||||||
SELECT "tablename" FROM "pg_tables"
|
SELECT "table_name"
|
||||||
WHERE "tablename" ~ '^(pg_|sql_)'
|
FROM "information_schema"."tables"
|
||||||
|
WHERE "table_type" = 'BASE TABLE'
|
||||||
|
AND "table_schema" IN
|
||||||
|
('pg_catalog', 'information_schema');
|
||||||
SQL;
|
SQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user