33 :
sqltype(name), oid_(oid), typdelim_(typdelim), typrelid_(typrelid),
34 typelem_(typelem), typarray_(typarray), typtype_(typtype) { }
37 bool consistent_(
sqltype *rvalue);
43 map<OID, pg_type*> oid2type;
44 map<string, pg_type*> name2type;
46 virtual std::string quote_name(
const std::string &
id) {
47 return c.quote_name(
id);
49 schema_pqxx(std::string &conninfo,
bool no_catalog);
54 virtual void test(
const std::string &stmt);
60 std::string conninfo_;
61 virtual void test(
const std::string &stmt);
62 void command(
const std::string &stmt);
63 void connect(std::string &conninfo);
Base class for device under test.
supporting classes for the grammar
Base class providing schema information to grammar.
virtual bool consistent(struct sqltype *rvalue)
This function is used to model postgres-style pseudotypes.