PostgreSQL Source Code  git master
pg_cast.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_cast_d.h"
Include dependency graph for pg_cast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_castForm_pg_cast
 

Functions

 CATALOG (pg_cast, 2605, CastRelationId)
 

Variables

 FormData_pg_cast
 

Typedef Documentation

◆ Form_pg_cast

Definition at line 54 of file pg_cast.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_cast  ,
2605  ,
CastRelationId   
)

Definition at line 31 of file pg_cast.h.

References BKI_LOOKUP.

32 {
33  /* source datatype for cast */
34  Oid castsource BKI_LOOKUP(pg_type);
35 
36  /* destination datatype for cast */
37  Oid casttarget BKI_LOOKUP(pg_type);
38 
39  /* cast function; 0 = binary coercible */
40  Oid castfunc BKI_LOOKUP(pg_proc);
41 
42  /* contexts in which cast can be used */
43  char castcontext;
44 
45  /* cast method */
46  char castmethod;
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_cast
Definition: pg_cast.h:47
#define BKI_LOOKUP(catalog)
Definition: genbki.h:38

Variable Documentation

◆ FormData_pg_cast

FormData_pg_cast

Definition at line 47 of file pg_cast.h.