#include "PgTablespaceContainer.h" #include "Pgsql_Connection.h" #include "Pgsql_Col.h" #include "Pgsql_declare.h" #include "PgDatabaseCatalog.h" #include std::string PgTablespaceContainer::getLoadQuery() const { return R"__SQL__( SELECT oid, spcname, spcowner, spcacl, spcoptions FROM pg_tablespace )__SQL__"; } PgTablespace PgTablespaceContainer::loadElem(const Pgsql::Row &row) { Pgsql::Col col(row); PgTablespace v; col >> v.oid >> v.name >> v.owner >> v.acl >> v.options; return v; }