SQLsmith
v1.2.1-5-gfacd7a8
A random SQL query generator
|
Public Member Functions | |
sqltype (string n) | |
virtual bool | consistent (struct sqltype *rvalue) |
This function is used to model postgres-style pseudotypes. More... | |
Static Public Member Functions | |
static struct sqltype * | get (string s) |
Public Attributes | |
string | name |
Static Public Attributes | |
static map< string, struct sqltype * > | typemap |
Definition at line 20 of file relmodel.hh.
|
virtual |
This function is used to model postgres-style pseudotypes.
A generic type is consistent with a more concrete type. E.G., anyarray->consistent(intarray) is true while int4array->consistent(anyarray) is false
There must not be cycles in the consistency graph, since the grammar will use fixpoint iteration to resolve type conformance situations in the direction of more concrete types
Reimplemented in pg_type.
Definition at line 13 of file relmodel.cc.