Added pg_proc table to the catalog. Contains the definition of functions.
Also improved the loading code for some catalog tables.
This commit is contained in:
parent
d8fc14c823
commit
35813ae926
10 changed files with 152 additions and 17 deletions
26
pglablib/PgProcContainer.h
Normal file
26
pglablib/PgProcContainer.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef PGPROCCONTAINER_H
|
||||
#define PGPROCCONTAINER_H
|
||||
|
||||
#include "PgContainer.h"
|
||||
#include "PgProc.h"
|
||||
#include <vector>
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Result;
|
||||
|
||||
}
|
||||
|
||||
class PgProcContainer: public PgContainer<PgProc> {
|
||||
public:
|
||||
using PgContainer<PgProc>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
|
||||
//std::vector<PgProc> getTriggersForRelation(Oid cls) const;
|
||||
protected:
|
||||
PgProc loadElem(const Pgsql::Row &row) override;
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // PGPROCCONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue