PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_cast.h File Reference
#include "catalog/genbki.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.

Macros

#define CastRelationId   2605
 
#define Natts_pg_cast   5
 
#define Anum_pg_cast_castsource   1
 
#define Anum_pg_cast_casttarget   2
 
#define Anum_pg_cast_castfunc   3
 
#define Anum_pg_cast_castcontext   4
 
#define Anum_pg_cast_castmethod   5
 

Typedefs

typedef FormData_pg_castForm_pg_cast
 
typedef enum CoercionCodes CoercionCodes
 
typedef enum CoercionMethod CoercionMethod
 

Enumerations

enum  CoercionCodes { COERCION_CODE_IMPLICIT = 'i', COERCION_CODE_ASSIGNMENT = 'a', COERCION_CODE_EXPLICIT = 'e' }
 
enum  CoercionMethod { COERCION_METHOD_FUNCTION = 'f', COERCION_METHOD_BINARY = 'b', COERCION_METHOD_INOUT = 'i' }
 

Functions

 CATALOG (pg_cast, 2605)
 
 DATA (insert(2021714 a f))
 
 DATA (insert(2023480 a f))
 
 DATA (insert(20 700652 i f))
 
 DATA (insert(20 701482 i f))
 
 DATA (insert(20 1700 1781 i f))
 
 DATA (insert(2120754 i f))
 
 DATA (insert(2123313 i f))
 
 DATA (insert(21 700236 i f))
 
 DATA (insert(21 701235 i f))
 
 DATA (insert(21 1700 1782 i f))
 
 DATA (insert(2320481 i f))
 
 DATA (insert(2321314 a f))
 
 DATA (insert(23 700318 i f))
 
 DATA (insert(23 701316 i f))
 
 DATA (insert(23 1700 1740 i f))
 
 DATA (insert(70020653 a f))
 
 DATA (insert(70021238 a f))
 
 DATA (insert(70023319 a f))
 
 DATA (insert(700 701311 i f))
 
 DATA (insert(700 1700 1742 a f))
 
 DATA (insert(70120483 a f))
 
 DATA (insert(70121237 a f))
 
 DATA (insert(70123317 a f))
 
 DATA (insert(701 700312 a f))
 
 DATA (insert(701 1700 1743 a f))
 
 DATA (insert(170020 1779 a f))
 
 DATA (insert(170021 1783 a f))
 
 DATA (insert(170023 1744 a f))
 
 DATA (insert(1700 700 1745 i f))
 
 DATA (insert(1700 701 1746 i f))
 
 DATA (insert(790 1700 3823 a f))
 
 DATA (insert(1700 790 3824 a f))
 
 DATA (insert(23 790 3811 a f))
 
 DATA (insert(20 790 3812 a f))
 
 DATA (insert(23 16 2557 e f))
 
 DATA (insert(16 23 2558 e f))
 
 DATA (insert(2026 1287 i f))
 
 DATA (insert(2126313 i f))
 
 DATA (insert(23260 i b))
 
 DATA (insert(2620 1288 a f))
 
 DATA (insert(26230 a b))
 
 DATA (insert(26240 i b))
 
 DATA (insert(24260 i b))
 
 DATA (insert(2024 1287 i f))
 
 DATA (insert(2124313 i f))
 
 DATA (insert(23240 i b))
 
 DATA (insert(2420 1288 a f))
 
 DATA (insert(24230 a b))
 
 DATA (insert(24 22020 i b))
 
 DATA (insert(2202240 i b))
 
 DATA (insert(26 22020 i b))
 
 DATA (insert(2202260 i b))
 
 DATA (insert(20 2202 1287 i f))
 
 DATA (insert(21 2202313 i f))
 
 DATA (insert(23 22020 i b))
 
 DATA (insert(220220 1288 a f))
 
 DATA (insert(2202230 a b))
 
 DATA (insert(26 22030 i b))
 
 DATA (insert(2203260 i b))
 
 DATA (insert(20 2203 1287 i f))
 
 DATA (insert(21 2203313 i f))
 
 DATA (insert(23 22030 i b))
 
 DATA (insert(220320 1288 a f))
 
 DATA (insert(2203230 a b))
 
 DATA (insert(2203 22040 i b))
 
 DATA (insert(2204 22030 i b))
 
 DATA (insert(26 22040 i b))
 
 DATA (insert(2204260 i b))
 
 DATA (insert(20 2204 1287 i f))
 
 DATA (insert(21 2204313 i f))
 
 DATA (insert(23 22040 i b))
 
 DATA (insert(220420 1288 a f))
 
 DATA (insert(2204230 a b))
 
 DATA (insert(26 22050 i b))
 
 DATA (insert(2205260 i b))
 
 DATA (insert(20 2205 1287 i f))
 
 DATA (insert(21 2205313 i f))
 
 DATA (insert(23 22050 i b))
 
 DATA (insert(220520 1288 a f))
 
 DATA (insert(2205230 a b))
 
 DATA (insert(26 22060 i b))
 
 DATA (insert(2206260 i b))
 
 DATA (insert(20 2206 1287 i f))
 
 DATA (insert(21 2206313 i f))
 
 DATA (insert(23 22060 i b))
 
 DATA (insert(220620 1288 a f))
 
 DATA (insert(2206230 a b))
 
 DATA (insert(26 37340 i b))
 
 DATA (insert(3734260 i b))
 
 DATA (insert(20 3734 1287 i f))
 
 DATA (insert(21 3734313 i f))
 
 DATA (insert(23 37340 i b))
 
 DATA (insert(373420 1288 a f))
 
 DATA (insert(3734230 a b))
 
 DATA (insert(26 37690 i b))
 
 DATA (insert(3769260 i b))
 
 DATA (insert(20 3769 1287 i f))
 
 DATA (insert(21 3769313 i f))
 
 DATA (insert(23 37690 i b))
 
 DATA (insert(376920 1288 a f))
 
 DATA (insert(3769230 a b))
 
 DATA (insert(25 2205 1079 i f))
 
 DATA (insert(1043 2205 1079 i f))
 
 DATA (insert(26 40960 i b))
 
 DATA (insert(4096260 i b))
 
 DATA (insert(20 4096 1287 i f))
 
 DATA (insert(21 4096313 i f))
 
 DATA (insert(23 40960 i b))
 
 DATA (insert(409620 1288 a f))
 
 DATA (insert(4096230 a b))
 
 DATA (insert(26 40890 i b))
 
 DATA (insert(4089260 i b))
 
 DATA (insert(20 4089 1287 i f))
 
 DATA (insert(21 4089313 i f))
 
 DATA (insert(23 40890 i b))
 
 DATA (insert(408920 1288 a f))
 
 DATA (insert(4089230 a b))
 
 DATA (insert(25 10420 i b))
 
 DATA (insert(25 10430 i b))
 
 DATA (insert(104225401 i f))
 
 DATA (insert(1042 1043401 i f))
 
 DATA (insert(1043250 i b))
 
 DATA (insert(1043 10420 i b))
 
 DATA (insert(1825946 i f))
 
 DATA (insert(18 1042860 a f))
 
 DATA (insert(18 1043946 a f))
 
 DATA (insert(1925406 i f))
 
 DATA (insert(19 1042408 a f))
 
 DATA (insert(19 1043 1401 a f))
 
 DATA (insert(2518944 a f))
 
 DATA (insert(104218944 a f))
 
 DATA (insert(104318944 a f))
 
 DATA (insert(2519407 i f))
 
 DATA (insert(104219409 i f))
 
 DATA (insert(104319 1400 i f))
 
 DATA (insert(182377 e f))
 
 DATA (insert(231878 e f))
 
 DATA (insert(194250 i b))
 
 DATA (insert(702 1082 1179 a f))
 
 DATA (insert(702 1083 1364 a f))
 
 DATA (insert(702 1114 2023 i f))
 
 DATA (insert(702 1184 1173 i f))
 
 DATA (insert(703 1186 1177 i f))
 
 DATA (insert(1082 1114 2024 i f))
 
 DATA (insert(1082 1184 1174 i f))
 
 DATA (insert(1083 1186 1370 i f))
 
 DATA (insert(1083 1266 2047 i f))
 
 DATA (insert(1114 702 2030 a f))
 
 DATA (insert(1114 1082 2029 a f))
 
 DATA (insert(1114 1083 1316 a f))
 
 DATA (insert(1114 1184 2028 i f))
 
 DATA (insert(1184 702 1180 a f))
 
 DATA (insert(1184 1082 1178 a f))
 
 DATA (insert(1184 1083 2019 a f))
 
 DATA (insert(1184 1114 2027 a f))
 
 DATA (insert(1184 1266 1388 a f))
 
 DATA (insert(1186 703 1194 a f))
 
 DATA (insert(1186 1083 1419 a f))
 
 DATA (insert(1266 1083 2046 a f))
 
 DATA (insert(23 7020 e b))
 
 DATA (insert(702230 e b))
 
 DATA (insert(23 7030 e b))
 
 DATA (insert(703230 e b))
 
 DATA (insert(600 603 4091 a f))
 
 DATA (insert(601 600 1532 e f))
 
 DATA (insert(602 600 1533 e f))
 
 DATA (insert(602 604 1449 a f))
 
 DATA (insert(603 600 1534 e f))
 
 DATA (insert(603 601 1541 e f))
 
 DATA (insert(603 604 1448 a f))
 
 DATA (insert(603 718 1479 e f))
 
 DATA (insert(604 600 1540 e f))
 
 DATA (insert(604 602 1447 a f))
 
 DATA (insert(604 603 1446 e f))
 
 DATA (insert(604 718 1474 e f))
 
 DATA (insert(718 600 1416 e f))
 
 DATA (insert(718 603 1480 e f))
 
 DATA (insert(718 604 1544 e f))
 
 DATA (insert(829 7744123 i f))
 
 DATA (insert(774 8294124 i f))
 
 DATA (insert(650 8690 i b))
 
 DATA (insert(869 650 1715 a f))
 
 DATA (insert(1560 15620 i b))
 
 DATA (insert(1562 15600 i b))
 
 DATA (insert(20 1560 2075 e f))
 
 DATA (insert(23 1560 1683 e f))
 
 DATA (insert(156020 2076 e f))
 
 DATA (insert(156023 1684 e f))
 
 DATA (insert(65025730 a f))
 
 DATA (insert(86925730 a f))
 
 DATA (insert(1625 2971 a f))
 
 DATA (insert(142250 a b))
 
 DATA (insert(25 142 2896 e f))
 
 DATA (insert(650 1043730 a f))
 
 DATA (insert(869 1043730 a f))
 
 DATA (insert(16 1043 2971 a f))
 
 DATA (insert(142 10430 a b))
 
 DATA (insert(1043 142 2896 e f))
 
 DATA (insert(650 1042730 a f))
 
 DATA (insert(869 1042730 a f))
 
 DATA (insert(16 1042 2971 a f))
 
 DATA (insert(142 10420 a b))
 
 DATA (insert(1042 142 2896 e f))
 
 DATA (insert(1042 1042668 i f))
 
 DATA (insert(1043 1043669 i f))
 
 DATA (insert(1083 1083 1968 i f))
 
 DATA (insert(1114 1114 1961 i f))
 
 DATA (insert(1184 1184 1967 i f))
 
 DATA (insert(1186 1186 1200 i f))
 
 DATA (insert(1266 1266 1969 i f))
 
 DATA (insert(1560 1560 1685 i f))
 
 DATA (insert(1562 1562 1687 i f))
 
 DATA (insert(1700 1700 1703 i f))
 
 DATA (insert(114 38020 a i))
 
 DATA (insert(3802 1140 a i))
 

Variables

 FormData_pg_cast
 

Macro Definition Documentation

#define Anum_pg_cast_castcontext   4

Definition at line 81 of file pg_cast.h.

Referenced by CreateCast().

#define Anum_pg_cast_castfunc   3

Definition at line 80 of file pg_cast.h.

Referenced by CreateCast().

#define Anum_pg_cast_castmethod   5

Definition at line 82 of file pg_cast.h.

Referenced by CreateCast().

#define Anum_pg_cast_castsource   1

Definition at line 78 of file pg_cast.h.

Referenced by CreateCast().

#define Anum_pg_cast_casttarget   2

Definition at line 79 of file pg_cast.h.

Referenced by CreateCast().

#define CastRelationId   2605
#define Natts_pg_cast   5

Definition at line 77 of file pg_cast.h.

Referenced by CreateCast().

Typedef Documentation

Definition at line 42 of file pg_cast.h.

Enumeration Type Documentation

Enumerator
COERCION_CODE_IMPLICIT 
COERCION_CODE_ASSIGNMENT 
COERCION_CODE_EXPLICIT 

Definition at line 53 of file pg_cast.h.

54 {
55  COERCION_CODE_IMPLICIT = 'i', /* coercion in context of expression */
56  COERCION_CODE_ASSIGNMENT = 'a', /* coercion in context of assignment */
57  COERCION_CODE_EXPLICIT = 'e' /* explicit cast operation */
CoercionCodes
Definition: pg_cast.h:53
Enumerator
COERCION_METHOD_FUNCTION 
COERCION_METHOD_BINARY 
COERCION_METHOD_INOUT 

Definition at line 65 of file pg_cast.h.

66 {
67  COERCION_METHOD_FUNCTION = 'f', /* use a function */
68  COERCION_METHOD_BINARY = 'b', /* types are binary-compatible */
69  COERCION_METHOD_INOUT = 'i' /* use input/output functions */
CoercionMethod
Definition: pg_cast.h:65

Function Documentation

CATALOG ( pg_cast  ,
2605   
)

Definition at line 33 of file pg_cast.h.

34 {
35  Oid castsource; /* source datatype for cast */
36  Oid casttarget; /* destination datatype for cast */
37  Oid castfunc; /* cast function; 0 = binary coercible */
38  char castcontext; /* contexts in which cast can be used */
39  char castmethod; /* cast method */
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_cast
Definition: pg_cast.h:40
DATA ( insert(2021714 a f)  )
DATA ( insert(2023480 a f)  )
DATA ( insert(20 700652 i f)  )
DATA ( insert(20 701482 i f)  )
DATA ( insert(20 1700 1781 i f)  )
DATA ( insert(2120754 i f)  )
DATA ( insert(2123313 i f)  )
DATA ( insert(21 700236 i f)  )
DATA ( insert(21 701235 i f)  )
DATA ( insert(21 1700 1782 i f)  )
DATA ( insert(2320481 i f)  )
DATA ( insert(2321314 a f)  )
DATA ( insert(23 700318 i f)  )
DATA ( insert(23 701316 i f)  )
DATA ( insert(23 1700 1740 i f)  )
DATA ( insert(70020653 a f)  )
DATA ( insert(70021238 a f)  )
DATA ( insert(70023319 a f)  )
DATA ( insert(700 701311 i f)  )
DATA ( insert(700 1700 1742 a f)  )
DATA ( insert(70120483 a f)  )
DATA ( insert(70121237 a f)  )
DATA ( insert(70123317 a f)  )
DATA ( insert(701 700312 a f)  )
DATA ( insert(701 1700 1743 a f)  )
DATA ( insert(170020 1779 a f)  )
DATA ( insert(170021 1783 a f)  )
DATA ( insert(170023 1744 a f)  )
DATA ( insert(1700 700 1745 i f)  )
DATA ( insert(1700 701 1746 i f)  )
DATA ( insert(790 1700 3823 a f)  )
DATA ( insert(1700 790 3824 a f)  )
DATA ( insert(23 790 3811 a f)  )
DATA ( insert(20 790 3812 a f)  )
DATA ( insert(23 16 2557 e f)  )
DATA ( insert(16 23 2558 e f)  )
DATA ( insert(2026 1287 i f)  )
DATA ( insert(2126313 i f)  )
DATA ( insert(23260 i b)  )
DATA ( insert(2620 1288 a f)  )
DATA ( insert(26230 a b)  )
DATA ( insert(26240 i b)  )
DATA ( insert(24260 i b)  )
DATA ( insert(2024 1287 i f)  )
DATA ( insert(2124313 i f)  )
DATA ( insert(23240 i b)  )
DATA ( insert(2420 1288 a f)  )
DATA ( insert(24230 a b)  )
DATA ( insert(24 22020 i b)  )
DATA ( insert(2202240 i b)  )
DATA ( insert(26 22020 i b)  )
DATA ( insert(2202260 i b)  )
DATA ( insert(20 2202 1287 i f)  )
DATA ( insert(21 2202313 i f)  )
DATA ( insert(23 22020 i b)  )
DATA ( insert(220220 1288 a f)  )
DATA ( insert(2202230 a b)  )
DATA ( insert(26 22030 i b)  )
DATA ( insert(2203260 i b)  )
DATA ( insert(20 2203 1287 i f)  )
DATA ( insert(21 2203313 i f)  )
DATA ( insert(23 22030 i b)  )
DATA ( insert(220320 1288 a f)  )
DATA ( insert(2203230 a b)  )
DATA ( insert(2203 22040 i b)  )
DATA ( insert(2204 22030 i b)  )
DATA ( insert(26 22040 i b)  )
DATA ( insert(2204260 i b)  )
DATA ( insert(20 2204 1287 i f)  )
DATA ( insert(21 2204313 i f)  )
DATA ( insert(23 22040 i b)  )
DATA ( insert(220420 1288 a f)  )
DATA ( insert(2204230 a b)  )
DATA ( insert(26 22050 i b)  )
DATA ( insert(2205260 i b)  )
DATA ( insert(20 2205 1287 i f)  )
DATA ( insert(21 2205313 i f)  )
DATA ( insert(23 22050 i b)  )
DATA ( insert(220520 1288 a f)  )
DATA ( insert(2205230 a b)  )
DATA ( insert(26 22060 i b)  )
DATA ( insert(2206260 i b)  )
DATA ( insert(20 2206 1287 i f)  )
DATA ( insert(21 2206313 i f)  )
DATA ( insert(23 22060 i b)  )
DATA ( insert(220620 1288 a f)  )
DATA ( insert(2206230 a b)  )
DATA ( insert(26 37340 i b)  )
DATA ( insert(3734260 i b)  )
DATA ( insert(20 3734 1287 i f)  )
DATA ( insert(21 3734313 i f)  )
DATA ( insert(23 37340 i b)  )
DATA ( insert(373420 1288 a f)  )
DATA ( insert(3734230 a b)  )
DATA ( insert(26 37690 i b)  )
DATA ( insert(3769260 i b)  )
DATA ( insert(20 3769 1287 i f)  )
DATA ( insert(21 3769313 i f)  )
DATA ( insert(23 37690 i b)  )
DATA ( insert(376920 1288 a f)  )
DATA ( insert(3769230 a b)  )
DATA ( insert(25 2205 1079 i f)  )
DATA ( insert(1043 2205 1079 i f)  )
DATA ( insert(26 40960 i b)  )
DATA ( insert(4096260 i b)  )
DATA ( insert(20 4096 1287 i f)  )
DATA ( insert(21 4096313 i f)  )
DATA ( insert(23 40960 i b)  )
DATA ( insert(409620 1288 a f)  )
DATA ( insert(4096230 a b)  )
DATA ( insert(26 40890 i b)  )
DATA ( insert(4089260 i b)  )
DATA ( insert(20 4089 1287 i f)  )
DATA ( insert(21 4089313 i f)  )
DATA ( insert(23 40890 i b)  )
DATA ( insert(408920 1288 a f)  )
DATA ( insert(4089230 a b)  )
DATA ( insert(25 10420 i b)  )
DATA ( insert(25 10430 i b)  )
DATA ( insert(104225401 i f)  )
DATA ( insert(1042 1043401 i f)  )
DATA ( insert(1043250 i b)  )
DATA ( insert(1043 10420 i b)  )
DATA ( insert(1825946 i f)  )
DATA ( insert(18 1042860 a f)  )
DATA ( insert(18 1043946 a f)  )
DATA ( insert(1925406 i f)  )
DATA ( insert(19 1042408 a f)  )
DATA ( insert(19 1043 1401 a f)  )
DATA ( insert(2518944 a f)  )
DATA ( insert(104218944 a f)  )
DATA ( insert(104318944 a f)  )
DATA ( insert(2519407 i f)  )
DATA ( insert(104219409 i f)  )
DATA ( insert(104319 1400 i f)  )
DATA ( insert(182377 e f)  )
DATA ( insert(231878 e f)  )
DATA ( insert(194250 i b)  )
DATA ( insert(702 1082 1179 a f)  )
DATA ( insert(702 1083 1364 a f)  )
DATA ( insert(702 1114 2023 i f)  )
DATA ( insert(702 1184 1173 i f)  )
DATA ( insert(703 1186 1177 i f)  )
DATA ( insert(1082 1114 2024 i f)  )
DATA ( insert(1082 1184 1174 i f)  )
DATA ( insert(1083 1186 1370 i f)  )
DATA ( insert(1083 1266 2047 i f)  )
DATA ( insert(1114 702 2030 a f)  )
DATA ( insert(1114 1082 2029 a f)  )
DATA ( insert(1114 1083 1316 a f)  )
DATA ( insert(1114 1184 2028 i f)  )
DATA ( insert(1184 702 1180 a f)  )
DATA ( insert(1184 1082 1178 a f)  )
DATA ( insert(1184 1083 2019 a f)  )
DATA ( insert(1184 1114 2027 a f)  )
DATA ( insert(1184 1266 1388 a f)  )
DATA ( insert(1186 703 1194 a f)  )
DATA ( insert(1186 1083 1419 a f)  )
DATA ( insert(1266 1083 2046 a f)  )
DATA ( insert(23 7020 e b)  )
DATA ( insert(702230 e b)  )
DATA ( insert(23 7030 e b)  )
DATA ( insert(703230 e b)  )
DATA ( insert(600 603 4091 a f)  )
DATA ( insert(601 600 1532 e f)  )
DATA ( insert(602 600 1533 e f)  )
DATA ( insert(602 604 1449 a f)  )
DATA ( insert(603 600 1534 e f)  )
DATA ( insert(603 601 1541 e f)  )
DATA ( insert(603 604 1448 a f)  )
DATA ( insert(603 718 1479 e f)  )
DATA ( insert(604 600 1540 e f)  )
DATA ( insert(604 602 1447 a f)  )
DATA ( insert(604 603 1446 e f)  )
DATA ( insert(604 718 1474 e f)  )
DATA ( insert(718 600 1416 e f)  )
DATA ( insert(718 603 1480 e f)  )
DATA ( insert(718 604 1544 e f)  )
DATA ( insert(829 7744123 i f)  )
DATA ( insert(774 8294124 i f)  )
DATA ( insert(650 8690 i b)  )
DATA ( insert(869 650 1715 a f)  )
DATA ( insert(1560 15620 i b)  )
DATA ( insert(1562 15600 i b)  )
DATA ( insert(20 1560 2075 e f)  )
DATA ( insert(23 1560 1683 e f)  )
DATA ( insert(156020 2076 e f)  )
DATA ( insert(156023 1684 e f)  )
DATA ( insert(65025730 a f)  )
DATA ( insert(86925730 a f)  )
DATA ( insert(1625 2971 a f)  )
DATA ( insert(142250 a b)  )
DATA ( insert(25 142 2896 e f)  )
DATA ( insert(650 1043730 a f)  )
DATA ( insert(869 1043730 a f)  )
DATA ( insert(16 1043 2971 a f)  )
DATA ( insert(142 10430 a b)  )
DATA ( insert(1043 142 2896 e f)  )
DATA ( insert(650 1042730 a f)  )
DATA ( insert(869 1042730 a f)  )
DATA ( insert(16 1042 2971 a f)  )
DATA ( insert(142 10420 a b)  )
DATA ( insert(1042 142 2896 e f)  )
DATA ( insert(1042 1042668 i f)  )
DATA ( insert(1043 1043669 i f)  )
DATA ( insert(1083 1083 1968 i f)  )
DATA ( insert(1114 1114 1961 i f)  )
DATA ( insert(1184 1184 1967 i f)  )
DATA ( insert(1186 1186 1200 i f)  )
DATA ( insert(1266 1266 1969 i f)  )
DATA ( insert(1560 1560 1685 i f)  )
DATA ( insert(1562 1562 1687 i f)  )
DATA ( insert(1700 1700 1703 i f)  )
DATA ( insert(114 38020 a i )
DATA ( insert(3802 1140 a i )

Variable Documentation

FormData_pg_cast

Definition at line 40 of file pg_cast.h.