Deduplication of loading logic for catalog data.

This commit is contained in:
eelke 2017-12-09 21:46:19 +01:00
parent ea035f58c8
commit cd4e99cd11
6 changed files with 33 additions and 28 deletions

View file

@ -15,8 +15,8 @@ class PgTypeContainer: public PgContainer<PgType> {
public:
using PgContainer<PgType>::PgContainer;
std::string getLoadQuery();
void load(const Pgsql::Result &res);
virtual std::string getLoadQuery() const override;
virtual void load(const Pgsql::Result &res) override;
/** Searches for the type matching the specified oid.
*