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()
|
||||
{
|
||||
return <<<SQL
|
||||
SELECT "tablename" FROM "pg_tables"
|
||||
WHERE "tablename" ~ '^(pg_|sql_)'
|
||||
SELECT "table_name"
|
||||
FROM "information_schema"."tables"
|
||||
WHERE "table_type" = 'BASE TABLE'
|
||||
AND "table_schema" IN
|
||||
('pg_catalog', 'information_schema');
|
||||
SQL;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user