pgLab/pglablib/PgNamespace.cpp
eelke 73c4cf4790 Rework of catalog objects. Several of them are now inheriting from common
base classes that implement common functionality.
2018-11-25 19:45:06 +01:00

8 lines
161 B
C++

#include "PgNamespace.h"
bool PgNamespace::isSystemCatalog() const
{
auto&& n = objectName();
return n.startsWith("pg_")
|| n == "information_schema";
}