![]() |
SQLsmith
v1.2.1-5-gfacd7a8
A random SQL query generator
|
Public Member Functions | |
pg_type (string name, OID oid, char typdelim, OID typrelid, OID typelem, OID typarray, char typtype) | |
virtual bool | consistent (struct sqltype *rvalue) |
This function is used to model postgres-style pseudotypes. More... | |
bool | consistent_ (sqltype *rvalue) |
![]() | |
sqltype (string n) | |
Public Attributes | |
OID | oid_ |
char | typdelim_ |
OID | typrelid_ |
OID | typelem_ |
OID | typarray_ |
char | typtype_ |
![]() | |
string | name |
Additional Inherited Members | |
![]() | |
static struct sqltype * | get (string s) |
![]() | |
static map< string, struct sqltype * > | typemap |
Definition at line 19 of file postgres.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 from sqltype.
Definition at line 19 of file postgres.cc.