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

Variable Documentation

◆ FormData_pg_cast

FormData_pg_cast

Definition at line 49 of file pg_cast.h.