2017-08-23 13:27:23 +02:00
|
|
|
|
#include "PgNamespace.h"
|
2017-02-01 18:01:02 +01:00
|
|
|
|
|
2017-12-12 20:13:53 +01:00
|
|
|
|
bool PgNamespace::isSystemCatalog() const
|
|
|
|
|
|
{
|
2018-11-25 19:45:06 +01:00
|
|
|
|
auto&& n = objectName();
|
|
|
|
|
|
return n.startsWith("pg_")
|
|
|
|
|
|
|| n == "information_schema";
|
2017-12-12 20:13:53 +01:00
|
|
|
|
}
|
2018-12-24 11:31:56 +01:00
|
|
|
|
|
|
|
|
|
|
QString PgNamespace::typeName() const
|
|
|
|
|
|
{
|
|
|
|
|
|
return "SCHEMA";
|
|
|
|
|
|
}
|