pg_proc.h
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:128k
- DESCR("larger of two");
- DATA(insert OID = 899 ( cashsmaller PGUID 11 f t f 2 f 790 "790 790" 100 0 0 100 cashsmaller - ));
- DESCR("smaller of two");
- DATA(insert OID = 919 ( flt8_mul_cash PGUID 11 f t f 2 f 790 "701 790" 100 0 0 100 flt8_mul_cash - ));
- DESCR("multiply");
- /* OIDS 900 - 999 */
- /* isoldpath, upgradepath, upgradepoly, revertpoly are used to update pre-v6.1 to v6.1 - tgl 97/06/03 */
- DATA(insert OID = 936 ( isoldpath PGUID 11 f t f 1 f 16 "602" 100 0 0 100 isoldpath - ));
- DESCR("");
- DATA(insert OID = 937 ( upgradepath PGUID 11 f t f 1 f 602 "602" 100 0 0 100 upgradepath - ));
- DESCR("");
- DATA(insert OID = 938 ( upgradepoly PGUID 11 f t f 1 f 604 "604" 100 0 0 100 upgradepoly - ));
- DESCR("");
- DATA(insert OID = 939 ( revertpoly PGUID 11 f t f 1 f 604 "604" 100 0 0 100 revertpoly - ));
- DESCR("");
- DATA(insert OID = 942 ( char_text PGUID 11 f t f 1 f 25 "18" 100 0 0 100 char_text - ));
- DESCR("convert char to text");
- DATA(insert OID = 943 ( text_char PGUID 11 f t f 1 f 18 "25" 100 0 0 100 text_char - ));
- DESCR("convert text to char");
- DATA(insert OID = 944 ( char PGUID 11 f t f 1 f 18 "25" 100 0 0 100 text_char - ));
- DESCR("convert text to char()");
- DATA(insert OID = 946 ( text PGUID 11 f t f 1 f 25 "18" 100 0 0 100 char_text - ));
- DESCR("convert char to text");
- DATA(insert OID = 947 ( char PGUID 11 f t f 1 f 18 "1042" 100 0 0 100 bpchar_char - ));
- DESCR("convert char() to char");
- DATA(insert OID = 948 ( varchar PGUID 11 f t f 1 f 25 "1043" 100 0 0 100 bpchar_char - ));
- DESCR("convert char to text");
- DATA(insert OID = 950 ( istrue PGUID 11 f t f 1 f 16 "16" 100 0 0 100 istrue - ));
- DESCR("");
- DATA(insert OID = 951 ( isfalse PGUID 11 f t f 1 f 16 "16" 100 0 0 100 isfalse - ));
- DESCR("");
- DATA(insert OID = 952 ( lo_open PGUID 11 f t f 2 f 23 "26 23" 100 0 0 100 lo_open - ));
- DESCR("large object open");
- DATA(insert OID = 953 ( lo_close PGUID 11 f t f 1 f 23 "23" 100 0 0 100 lo_close - ));
- DESCR("large object close");
- DATA(insert OID = 954 ( loread PGUID 11 f t f 2 f 17 "23 23" 100 0 0 100 loread - ));
- DESCR("large object read");
- DATA(insert OID = 955 ( lowrite PGUID 11 f t f 2 f 23 "23 17" 100 0 0 100 lowrite - ));
- DESCR("large object write");
- DATA(insert OID = 956 ( lo_lseek PGUID 11 f t f 3 f 23 "23 23 23" 100 0 0 100 lo_lseek - ));
- DESCR("large object seek");
- DATA(insert OID = 957 ( lo_creat PGUID 11 f t f 1 f 26 "23" 100 0 0 100 lo_creat - ));
- DESCR("large object create");
- DATA(insert OID = 958 ( lo_tell PGUID 11 f t f 1 f 23 "23" 100 0 0 100 lo_tell - ));
- DESCR("large object position");
- DATA(insert OID = 959 ( on_pl PGUID 11 f t f 2 f 16 "600 628" 100 0 10 100 on_pl - ));
- DESCR("contained in");
- DATA(insert OID = 960 ( on_sl PGUID 11 f t f 2 f 16 "601 628" 100 0 10 100 on_sl - ));
- DESCR("contained in");
- DATA(insert OID = 961 ( close_pl PGUID 11 f t f 2 f 600 "600 628" 100 0 10 100 close_pl - ));
- DESCR("closest point on line");
- DATA(insert OID = 962 ( close_sl PGUID 11 f t f 2 f 600 "601 628" 100 0 10 100 close_sl - ));
- DESCR("closest point to line segment on line");
- DATA(insert OID = 963 ( close_lb PGUID 11 f t f 2 f 600 "628 603" 100 0 10 100 close_lb - ));
- DESCR("closest point to line on box");
- DATA(insert OID = 964 ( lo_unlink PGUID 11 f t f 1 f 23 "26" 100 0 0 100 lo_unlink - ));
- DESCR("large object unlink(delete)");
- DATA(insert OID = 972 ( regproctooid PGUID 11 f t f 1 f 26 "24" 100 0 0 100 regproctooid - ));
- DESCR("get oid for regproc");
- DATA(insert OID = 973 ( path_inter PGUID 11 f t f 2 f 16 "602 602" 100 0 10 100 path_inter - ));
- DESCR("");
- DATA(insert OID = 975 ( box_area PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_area - ));
- DESCR("box area");
- DATA(insert OID = 976 ( box_width PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_width - ));
- DESCR("box width");
- DATA(insert OID = 977 ( box_height PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_height - ));
- DESCR("box height");
- DATA(insert OID = 978 ( box_distance PGUID 11 f t f 2 f 701 "603 603" 100 0 0 100 box_distance - ));
- DESCR("distance between");
- DATA(insert OID = 980 ( box_intersect PGUID 11 f t f 2 f 603 "603 603" 100 0 0 100 box_intersect - ));
- DESCR("intersects");
- DATA(insert OID = 981 ( box_diagonal PGUID 11 f t f 1 f 601 "603" 100 0 0 100 box_diagonal - ));
- DESCR("box diagonal");
- DATA(insert OID = 982 ( path_n_lt PGUID 11 f t f 2 f 16 "602 602" 100 0 0 100 path_n_lt - ));
- DESCR("less-than");
- DATA(insert OID = 983 ( path_n_gt PGUID 11 f t f 2 f 16 "602 602" 100 0 0 100 path_n_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 984 ( path_n_eq PGUID 11 f t f 2 f 16 "602 602" 100 0 0 100 path_n_eq - ));
- DESCR("equal");
- DATA(insert OID = 985 ( path_n_le PGUID 11 f t f 2 f 16 "602 602" 100 0 0 100 path_n_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 986 ( path_n_ge PGUID 11 f t f 2 f 16 "602 602" 100 0 0 100 path_n_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 987 ( path_length PGUID 11 f t f 1 f 701 "602" 100 0 1 0 path_length - ));
- DESCR("sum of path segments");
- DATA(insert OID = 988 ( point_ne PGUID 11 f t f 2 f 16 "600 600" 100 0 0 100 point_ne - ));
- DESCR("not equal");
- DATA(insert OID = 989 ( point_vert PGUID 11 f t f 2 f 16 "600 600" 100 0 0 100 point_vert - ));
- DESCR("is vertical");
- DATA(insert OID = 990 ( point_horiz PGUID 11 f t f 2 f 16 "600 600" 100 0 0 100 point_horiz - ));
- DESCR("is horizontal");
- DATA(insert OID = 991 ( point_distance PGUID 11 f t f 2 f 701 "600 600" 100 0 0 100 point_distance - ));
- DESCR("distance between");
- DATA(insert OID = 992 ( point_slope PGUID 11 f t f 2 f 701 "600 600" 100 0 0 100 point_slope - ));
- DESCR("slope between points");
- DATA(insert OID = 993 ( lseg_construct PGUID 11 f t f 2 f 601 "600 600" 100 0 0 100 lseg_construct - ));
- DESCR("convert points to line segment");
- DATA(insert OID = 994 ( lseg_intersect PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_intersect - ));
- DESCR("intersects");
- DATA(insert OID = 995 ( lseg_parallel PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_parallel - ));
- DESCR("is parallel to");
- DATA(insert OID = 996 ( lseg_perp PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_perp - ));
- DESCR("is perpendicular to");
- DATA(insert OID = 997 ( lseg_vertical PGUID 11 f t f 1 f 16 "601" 100 0 0 100 lseg_vertical - ));
- DESCR("is vertical");
- DATA(insert OID = 998 ( lseg_horizontal PGUID 11 f t f 1 f 16 "601" 100 0 0 100 lseg_horizontal - ));
- DESCR("is horizontal");
- DATA(insert OID = 999 ( lseg_eq PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_eq - ));
- DESCR("equal");
- /* OIDS 1000 - 1999 */
- DATA(insert OID = 1029 ( nullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 nullvalue - ));
- DESCR("(internal)");
- DATA(insert OID = 1030 ( nonnullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 nonnullvalue - ));
- DESCR("(internal)");
- DATA(insert OID = 1031 ( aclitemin PGUID 11 f t f 1 f 1033 "0" 100 0 0 100 aclitemin - ));
- DESCR("(internal)");
- DATA(insert OID = 1032 ( aclitemout PGUID 11 f t f 1 f 23 "0" 100 0 0 100 aclitemout - ));
- DESCR("(internal)");
- DATA(insert OID = 1035 ( aclinsert PGUID 11 f t f 2 f 1034 "1034 1033" 100 0 0 100 aclinsert - ));
- DESCR("addition");
- DATA(insert OID = 1036 ( aclremove PGUID 11 f t f 2 f 1034 "1034 1033" 100 0 0 100 aclremove - ));
- DESCR("subtract");
- DATA(insert OID = 1037 ( aclcontains PGUID 11 f t f 2 f 16 "1034 1033" 100 0 0 100 aclcontains - ));
- DESCR("matches regex., case-sensitive");
- DATA(insert OID = 1038 ( seteval PGUID 11 f t f 1 f 23 "26" 100 0 0 100 seteval - ));
- DESCR("");
- DATA(insert OID = 1044 ( bpcharin PGUID 11 f t f 3 f 1042 "0 0 23" 100 0 0 100 bpcharin - ));
- DESCR("(internal)");
- DATA(insert OID = 1045 ( bpcharout PGUID 11 f t f 1 f 23 "0" 100 0 0 100 bpcharout - ));
- DESCR("(internal)");
- DATA(insert OID = 1046 ( varcharin PGUID 11 f t f 3 f 1043 "0 0 23" 100 0 0 100 varcharin - ));
- DESCR("(internal)");
- DATA(insert OID = 1047 ( varcharout PGUID 11 f t f 1 f 23 "0" 100 0 0 100 varcharout - ));
- DESCR("(internal)");
- DATA(insert OID = 1048 ( bpchareq PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpchareq - ));
- DESCR("equal");
- DATA(insert OID = 1049 ( bpcharlt PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpcharlt - ));
- DESCR("less-than");
- DATA(insert OID = 1050 ( bpcharle PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpcharle - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1051 ( bpchargt PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpchargt - ));
- DESCR("greater-than");
- DATA(insert OID = 1052 ( bpcharge PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpcharge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1053 ( bpcharne PGUID 11 f t f 2 f 16 "1042 1042" 100 0 0 100 bpcharne - ));
- DESCR("not equal");
- DATA(insert OID = 1070 ( varchareq PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varchareq - ));
- DESCR("equal");
- DATA(insert OID = 1071 ( varcharlt PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varcharlt - ));
- DESCR("less-than");
- DATA(insert OID = 1072 ( varcharle PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varcharle - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1073 ( varchargt PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varchargt - ));
- DESCR("greater-than");
- DATA(insert OID = 1074 ( varcharge PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varcharge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1075 ( varcharne PGUID 11 f t f 2 f 16 "1043 1043" 100 0 0 100 varcharne - ));
- DESCR("not equal");
- DATA(insert OID = 1078 ( bpcharcmp PGUID 11 f t f 2 f 23 "1042 1042" 100 0 0 100 bpcharcmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 1079 ( varcharcmp PGUID 11 f t f 2 f 23 "1043 1043" 100 0 0 100 varcharcmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 1080 ( hashbpchar PGUID 11 f t f 1 f 23 "1042" 100 0 0 100 hashbpchar - ));
- DESCR("hash");
- DATA(insert OID = 1081 ( hashvarchar PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 hashvarchar - ));
- DESCR("hash");
- DATA(insert OID = 1084 ( date_in PGUID 11 f t f 1 f 1082 "0" 100 0 0 100 date_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1085 ( date_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 date_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1086 ( date_eq PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_eq - ));
- DESCR("equal");
- DATA(insert OID = 1087 ( date_lt PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1088 ( date_le PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1089 ( date_gt PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1090 ( date_ge PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1091 ( date_ne PGUID 11 f t f 2 f 16 "1082 1082" 100 0 0 100 date_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1092 ( date_cmp PGUID 11 f t f 2 f 23 "1082 1082" 100 0 0 100 date_cmp - ));
- DESCR("less-equal-greater");
- /* OIDS 1100 - 1199 */
- DATA(insert OID = 1102 ( time_lt PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1103 ( time_le PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1104 ( time_gt PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1105 ( time_ge PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1106 ( time_ne PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1107 ( time_cmp PGUID 11 f t f 2 f 23 "1083 1083" 100 0 0 100 time_cmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 1138 ( date_larger PGUID 11 f t f 2 f 1082 "1082 1082" 100 0 0 100 date_larger - ));
- DESCR("larger of two");
- DATA(insert OID = 1139 ( date_smaller PGUID 11 f t f 2 f 1082 "1082 1082" 100 0 0 100 date_smaller - ));
- DESCR("smaller of two");
- DATA(insert OID = 1140 ( date_mi PGUID 11 f t f 2 f 23 "1082 1082" 100 0 0 100 date_mi - ));
- DESCR("subtract");
- DATA(insert OID = 1141 ( date_pli PGUID 11 f t f 2 f 1082 "1082 23" 100 0 0 100 date_pli - ));
- DESCR("addition");
- DATA(insert OID = 1142 ( date_mii PGUID 11 f t f 2 f 1082 "1082 23" 100 0 0 100 date_mii - ));
- DESCR("subtract");
- DATA(insert OID = 1143 ( time_in PGUID 11 f t f 1 f 1083 "0" 100 0 0 100 time_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1144 ( time_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 time_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1145 ( time_eq PGUID 11 f t f 2 f 16 "1083 1083" 100 0 0 100 time_eq - ));
- DESCR("equal");
- DATA(insert OID = 1146 ( circle_add_pt PGUID 11 f t f 2 f 718 "718 600" 100 0 0 100 circle_add_pt - ));
- DESCR("addition");
- DATA(insert OID = 1147 ( circle_sub_pt PGUID 11 f t f 2 f 718 "718 600" 100 0 0 100 circle_sub_pt - ));
- DESCR("subtract");
- DATA(insert OID = 1148 ( circle_mul_pt PGUID 11 f t f 2 f 718 "718 600" 100 0 0 100 circle_mul_pt - ));
- DESCR("multiply");
- DATA(insert OID = 1149 ( circle_div_pt PGUID 11 f t f 2 f 718 "718 600" 100 0 0 100 circle_div_pt - ));
- DESCR("divide");
- DATA(insert OID = 1150 ( datetime_in PGUID 11 f t f 1 f 1184 "0" 100 0 0 100 datetime_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1151 ( datetime_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 datetime_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1152 ( datetime_eq PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_eq - ));
- DESCR("equal");
- DATA(insert OID = 1153 ( datetime_ne PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1154 ( datetime_lt PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1155 ( datetime_le PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1156 ( datetime_ge PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1157 ( datetime_gt PGUID 11 f t f 2 f 16 "1184 1184" 100 0 0 100 datetime_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1158 ( datetime_finite PGUID 11 f t f 1 f 16 "1184" 100 0 0 100 datetime_finite - ));
- DESCR("");
- DATA(insert OID = 1159 ( datetime_zone PGUID 11 f t f 2 f 25 "25 1184" 100 0 0 100 datetime_zone - ));
- DESCR("");
- DATA(insert OID = 1160 ( timespan_in PGUID 11 f t f 1 f 1186 "0" 100 0 0 100 timespan_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1161 ( timespan_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 timespan_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1162 ( timespan_eq PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_eq - ));
- DESCR("equal");
- DATA(insert OID = 1163 ( timespan_ne PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1164 ( timespan_lt PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1165 ( timespan_le PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1166 ( timespan_ge PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1167 ( timespan_gt PGUID 11 f t f 2 f 16 "1186 1186" 100 0 0 100 timespan_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1168 ( timespan_um PGUID 11 f t f 1 f 1186 "1186" 100 0 0 100 timespan_um - ));
- DESCR("subtract");
- DATA(insert OID = 1169 ( timespan_pl PGUID 11 f t f 2 f 1186 "1186 1186" 100 0 0 100 timespan_pl - ));
- DESCR("addition");
- DATA(insert OID = 1170 ( timespan_mi PGUID 11 f t f 2 f 1186 "1186 1186" 100 0 0 100 timespan_mi - ));
- DESCR("subtract");
- DATA(insert OID = 1171 ( datetime_part PGUID 11 f t f 2 f 701 "25 1184" 100 0 0 100 datetime_part - ));
- DESCR("extract field from datetime");
- DATA(insert OID = 1172 ( timespan_part PGUID 11 f t f 2 f 701 "25 1186" 100 0 0 100 timespan_part - ));
- DESCR("extract field from timespan");
- DATA(insert OID = 1173 ( abstime_datetime PGUID 11 f t f 1 f 1184 "702" 100 0 0 100 abstime_datetime - ));
- DESCR("convert abstime to datetime");
- DATA(insert OID = 1174 ( date_datetime PGUID 11 f t f 1 f 1184 "1082" 100 0 0 100 date_datetime - ));
- DESCR("convert date to datetime");
- DATA(insert OID = 1175 ( timestamp_datetime PGUID 11 f t f 1 f 1184 "1296" 100 0 0 100 timestamp_datetime - ));
- DESCR("convert timestamp to datetime");
- DATA(insert OID = 1176 ( datetime_datetime PGUID 11 f t f 2 f 1184 "1082 1083" 100 0 0 100 datetime_datetime - ));
- DESCR("convert date and time to datetime");
- DATA(insert OID = 1177 ( reltime_timespan PGUID 11 f t f 1 f 1186 "703" 100 0 0 100 reltime_timespan - ));
- DESCR("convert reltime to timespan");
- DATA(insert OID = 1178 ( datetime_date PGUID 11 f t f 1 f 1082 "1184" 100 0 0 100 datetime_date - ));
- DESCR("convert datetime to date");
- DATA(insert OID = 1179 ( abstime_date PGUID 11 f t f 1 f 1082 "702" 100 0 0 100 abstime_date - ));
- DESCR("convert abstime to date");
- DATA(insert OID = 1180 ( datetime_abstime PGUID 11 f t f 1 f 702 "1184" 100 0 0 100 datetime_abstime - ));
- DESCR("convert datetime to abstime");
- DATA(insert OID = 1188 ( datetime_mi PGUID 11 f t f 2 f 1186 "1184 1184" 100 0 0 100 datetime_mi - ));
- DESCR("subtract");
- DATA(insert OID = 1189 ( datetime_pl_span PGUID 11 f t f 2 f 1184 "1184 1186" 100 0 0 100 datetime_pl_span - ));
- DESCR("plus");
- DATA(insert OID = 1190 ( datetime_mi_span PGUID 11 f t f 2 f 1184 "1184 1186" 100 0 0 100 datetime_mi_span - ));
- DESCR("minus");
- DATA(insert OID = 1191 ( text_datetime PGUID 11 f t f 1 f 1184 "25" 100 0 0 100 text_datetime - ));
- DESCR("convert text to datetime");
- DATA(insert OID = 1192 ( datetime_text PGUID 11 f t f 1 f 25 "1184" 100 0 0 100 datetime_text - ));
- DESCR("convert datetime to text");
- DATA(insert OID = 1193 ( timespan_text PGUID 11 f t f 1 f 25 "1186" 100 0 0 100 timespan_text - ));
- DESCR("convert timespan to text");
- DATA(insert OID = 1194 ( timespan_reltime PGUID 11 f t f 1 f 703 "1186" 100 0 0 100 timespan_reltime - ));
- DESCR("convert timespan to reltime");
- DATA(insert OID = 1195 ( datetime_smaller PGUID 11 f t f 2 f 1184 "1184 1184" 100 0 0 100 datetime_smaller - ));
- DESCR("smaller of two");
- DATA(insert OID = 1196 ( datetime_larger PGUID 11 f t f 2 f 1184 "1184 1184" 100 0 0 100 datetime_larger - ));
- DESCR("larger of two");
- DATA(insert OID = 1197 ( timespan_smaller PGUID 11 f t f 2 f 1186 "1186 1186" 100 0 0 100 timespan_smaller - ));
- DESCR("smaller of two");
- DATA(insert OID = 1198 ( timespan_larger PGUID 11 f t f 2 f 1186 "1186 1186" 100 0 0 100 timespan_larger - ));
- DESCR("larger of two");
- DATA(insert OID = 1199 ( datetime_age PGUID 11 f t f 2 f 1186 "1184 1184" 100 0 0 100 datetime_age - ));
- DESCR("date difference preserving months and years");
- /* OIDS 1200 - 1299 */
- DATA(insert OID = 1200 ( int4reltime PGUID 11 f t f 1 f 703 "23" 100 0 0 100 int4reltime - ));
- DESCR("convert int4 to reltime");
- DATA(insert OID = 1217 ( datetime_trunc PGUID 11 f t f 2 f 1184 "25 1184" 100 0 0 100 datetime_trunc - ));
- DESCR("truncate datetime to specified units");
- DATA(insert OID = 1218 ( timespan_trunc PGUID 11 f t f 2 f 1186 "25 1186" 100 0 0 100 timespan_trunc - ));
- DESCR("truncate timespan to specified units");
- DATA(insert OID = 1230 ( bpchar PGUID 11 f t f 1 f 1042 "18" 100 0 0 100 char_bpchar - ));
- DESCR("convert char to char()");
- DATA(insert OID = 1236 ( int8larger PGUID 11 f t f 2 f 20 "20 20" 100 0 0 100 int8larger - ));
- DESCR("larger of two");
- DATA(insert OID = 1237 ( int8smaller PGUID 11 f t f 2 f 20 "20 20" 100 0 0 100 int8smaller - ));
- DESCR("smaller of two");
- DATA(insert OID = 1238 ( texticregexeq PGUID 11 f t f 2 f 16 "25 25" 100 0 1 0 texticregexeq - ));
- DESCR("matches regex., case-insensitive");
- DATA(insert OID = 1239 ( texticregexne PGUID 11 f t f 2 f 16 "25 25" 100 0 1 0 texticregexne - ));
- DESCR("does not match regex., case-insensitive");
- DATA(insert OID = 1240 ( nameicregexeq PGUID 11 f t f 2 f 16 "19 25" 100 0 0 100 nameicregexeq - ));
- DESCR("matches regex., case-insensitive");
- DATA(insert OID = 1241 ( nameicregexne PGUID 11 f t f 2 f 16 "19 25" 100 0 0 100 nameicregexne - ));
- DESCR("does not match regex., case-insensitive");
- DATA(insert OID = 1251 ( bpcharlen PGUID 11 f t f 1 f 23 "1042" 100 0 0 100 bpcharlen - ));
- DESCR("octet length");
- DATA(insert OID = 1378 ( bpcharoctetlen PGUID 11 f t f 1 f 23 "1042" 100 0 0 100 bpcharoctetlen - ));
- DESCR("octet length");
- DATA(insert OID = 1253 ( varcharlen PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 varcharlen - ));
- DESCR("character length");
- DATA(insert OID = 1379 ( varcharoctetlen PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 varcharoctetlen - ));
- DESCR("octet length");
- DATA(insert OID = 1263 ( text_timespan PGUID 11 f t f 1 f 1186 "25" 100 0 0 100 text_timespan - ));
- DESCR("convert text to timespan");
- DATA(insert OID = 1271 ( timespan_finite PGUID 11 f t f 1 f 16 "1186" 100 0 0 100 timespan_finite - ));
- DESCR("boolean test");
- DATA(insert OID = 1274 ( int84pl PGUID 11 f t f 2 f 20 "20 23" 100 0 0 100 int84pl - ));
- DESCR("addition");
- DATA(insert OID = 1275 ( int84mi PGUID 11 f t f 2 f 20 "20 23" 100 0 0 100 int84mi - ));
- DESCR("subtraction");
- DATA(insert OID = 1276 ( int84mul PGUID 11 f t f 2 f 20 "20 23" 100 0 0 100 int84mul - ));
- DESCR("multiply");
- DATA(insert OID = 1277 ( int84div PGUID 11 f t f 2 f 20 "20 23" 100 0 0 100 int84div - ));
- DESCR("divide");
- DATA(insert OID = 1278 ( int48pl PGUID 11 f t f 2 f 20 "23 20" 100 0 0 100 int48pl - ));
- DESCR("addition");
- DATA(insert OID = 1279 ( int48mi PGUID 11 f t f 2 f 20 "23 20" 100 0 0 100 int48mi - ));
- DESCR("subtraction");
- DATA(insert OID = 1280 ( int48mul PGUID 11 f t f 2 f 20 "23 20" 100 0 0 100 int48mul - ));
- DESCR("multiply");
- DATA(insert OID = 1281 ( int48div PGUID 11 f t f 2 f 20 "23 20" 100 0 0 100 int48div - ));
- DESCR("divide");
- DATA(insert OID = 1288 ( int8_text PGUID 11 f t f 1 f 25 "20" 100 0 0 100 int8_text - ));
- DESCR("convert int8 to text");
- DATA(insert OID = 1289 ( text_int8 PGUID 11 f t f 1 f 20 "25" 100 0 0 100 text_int8 - ));
- DESCR("convert text to int8");
- DATA(insert OID = 1290 ( _bpchar PGUID 11 f t f 2 f 1014 "1014 23" 100 0 0 100 _bpchar - ));
- DESCR("truncate _char()");
- DATA(insert OID = 1291 ( _varchar PGUID 11 f t f 2 f 1015 "1015 23" 100 0 0 100 _varchar - ));
- DESCR("truncate _varchar()");
- DATA(insert OID = 1297 ( timestamp_in PGUID 11 f t f 1 f 1296 "0" 100 0 0 100 timestamp_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1298 ( timestamp_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 timestamp_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1299 ( now PGUID 11 f t f 0 f 1296 "0" 100 0 0 100 now - ));
- DESCR("current transaction time");
- /* OIDS 1300 - 1399 */
- DATA(insert OID = 1306 ( timestampeq PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestampeq - ));
- DESCR("equal");
- DATA(insert OID = 1307 ( timestampne PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestampne - ));
- DESCR("not equal");
- DATA(insert OID = 1308 ( timestamplt PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestamplt - ));
- DESCR("less-than");
- DATA(insert OID = 1309 ( timestampgt PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestampgt - ));
- DESCR("greater-than");
- DATA(insert OID = 1310 ( timestample PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestample - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1311 ( timestampge PGUID 11 f t f 2 f 16 "1296 1296" 100 0 0 100 timestampge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1314 ( datetime_cmp PGUID 11 f t f 2 f 23 "1184 1184" 100 0 0 100 datetime_cmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 1315 ( timespan_cmp PGUID 11 f t f 2 f 23 "1186 1186" 100 0 0 100 timespan_cmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 1316 ( datetime_time PGUID 11 f t f 1 f 1083 "1184" 100 0 0 100 datetime_time - ));
- DESCR("convert datetime to time");
- DATA(insert OID = 1318 ( datetime_timestamp PGUID 11 f t f 1 f 1296 "1184" 100 0 0 100 datetime_timestamp - ));
- DESCR("convert datetime to timestamp");
- DATA(insert OID = 1326 ( timespan_div PGUID 11 f t f 2 f 1186 "1186 701" 100 0 0 100 timespan_div - ));
- DESCR("divide");
- DATA(insert OID = 1339 ( date_zone PGUID 11 f t f 2 f 25 "25 1184" 100 0 0 100 datetime_zone - ));
- DESCR("");
- DATA(insert OID = 1340 ( text PGUID 11 f t f 1 f 25 "1184" 100 0 0 100 datetime_text - ));
- DESCR("convert datetime to text");
- DATA(insert OID = 1341 ( text PGUID 11 f t f 1 f 25 "1186" 100 0 0 100 timespan_text - ));
- DESCR("convert timespan to text");
- DATA(insert OID = 1342 ( text PGUID 11 f t f 1 f 25 "23" 100 0 0 100 int4_text - ));
- DESCR("convert int4 to text");
- DATA(insert OID = 1343 ( text PGUID 11 f t f 1 f 25 "21" 100 0 0 100 int2_text - ));
- DESCR("convert int2 to text");
- DATA(insert OID = 1344 ( text PGUID 11 f t f 1 f 25 "26" 100 0 0 100 oid_text - ));
- DESCR("convert oid to text");
- DATA(insert OID = 1345 ( oid PGUID 11 f t f 1 f 26 "25" 100 0 0 100 text_oid - ));
- DESCR("convert text to oid");
- DATA(insert OID = 1346 ( int2 PGUID 11 f t f 1 f 21 "25" 100 0 0 100 text_int2 - ));
- DESCR("convert text to int2");
- DATA(insert OID = 1347 ( int4 PGUID 11 f t f 1 f 23 "25" 100 0 0 100 text_int4 - ));
- DESCR("convert text to int4");
- DATA(insert OID = 1348 ( obj_description PGUID 14 f t f 1 f 25 "26" 100 0 0 100 "select description from pg_description where objoid = $1" - ));
- DESCR("get description for object id");
- DATA(insert OID = 1349 ( oid8types PGUID 11 f t f 1 f 25 "30" 100 0 0 100 oid8types - ));
- DESCR("print type names of oid8 field");
- DATA(insert OID = 1350 ( datetime PGUID 14 f t f 1 f 1184 "1184" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1351 ( datetime PGUID 11 f t f 1 f 1184 "25" 100 0 0 100 text_datetime - ));
- DESCR("convert text to datetime");
- DATA(insert OID = 1352 ( datetime PGUID 11 f t f 1 f 1184 "702" 100 0 0 100 abstime_datetime - ));
- DESCR("convert abstime to datetime");
- DATA(insert OID = 1353 ( datetime PGUID 11 f t f 1 f 1184 "1082" 100 0 0 100 date_datetime - ));
- DESCR("convert date to datetime");
- DATA(insert OID = 1354 ( datetime PGUID 11 f t f 1 f 1184 "1296" 100 0 0 100 timestamp_datetime - ));
- DESCR("convert timestamp to datetime");
- DATA(insert OID = 1355 ( datetime PGUID 11 f t f 2 f 1184 "1082 1083" 100 0 0 100 datetime_datetime - ));
- DESCR("convert date and time to datetime");
- DATA(insert OID = 1356 ( timespan PGUID 14 f t f 1 f 1186 "1186" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1357 ( timespan PGUID 11 f t f 1 f 1186 "703" 100 0 0 100 reltime_timespan - ));
- DESCR("convert reltime to timespan");
- DATA(insert OID = 1358 ( timespan PGUID 14 f t f 1 f 1186 "1083" 100 0 0 100 "select time_timespan($1)" - ));
- DESCR("convert time to timespan");
- DATA(insert OID = 1359 ( date PGUID 14 f t f 1 f 1082 "1082" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1360 ( date PGUID 11 f t f 1 f 1082 "1184" 100 0 0 100 datetime_date - ));
- DESCR("convert datetime to date");
- DATA(insert OID = 1361 ( date PGUID 11 f t f 1 f 1082 "702" 100 0 0 100 abstime_date - ));
- DESCR("convert abstime to date");
- DATA(insert OID = 1362 ( time PGUID 14 f t f 1 f 1083 "1083" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1363 ( time PGUID 11 f t f 1 f 1083 "1184" 100 0 0 100 datetime_time - ));
- DESCR("convert datetime to time");
- DATA(insert OID = 1364 ( time PGUID 14 f t f 1 f 1083 "702" 100 0 0 100 "select time(datetime($1))" - ));
- DESCR("convert abstime to time");
- DATA(insert OID = 1365 ( abstime PGUID 14 f t f 1 f 702 "702" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1366 ( abstime PGUID 11 f t f 1 f 702 "1184" 100 0 0 100 datetime_abstime - ));
- DESCR("convert datetime to abstime");
- DATA(insert OID = 1367 ( reltime PGUID 14 f t f 1 f 703 "703" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1368 ( reltime PGUID 11 f t f 1 f 703 "1186" 100 0 0 100 timespan_reltime - ));
- DESCR("convert timespan to reltime");
- DATA(insert OID = 1369 ( timestamp PGUID 14 f t f 1 f 1296 "1296" 100 0 0 100 "select $1" - ));
- DESCR("convert (noop)");
- DATA(insert OID = 1370 ( timestamp PGUID 11 f t f 1 f 1296 "1184" 100 0 0 100 datetime_timestamp - ));
- DESCR("convert datetime to timestamp");
- DATA(insert OID = 1371 ( length PGUID 11 f t f 1 f 23 "25" 100 0 0 100 textlen - ));
- DESCR("character length");
- DATA(insert OID = 1372 ( length PGUID 11 f t f 1 f 23 "1042" 100 0 0 100 bpcharlen - ));
- DESCR("character length");
- DATA(insert OID = 1373 ( length PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 varcharlen - ));
- DESCR("character length");
- DATA(insert OID = 1374 ( octet_length PGUID 11 f t f 1 f 23 "25" 100 0 0 100 textoctetlen - ));
- DESCR("octet length");
- DATA(insert OID = 1375 ( octet_length PGUID 11 f t f 1 f 23 "1042" 100 0 0 100 bpcharoctetlen - ));
- DESCR("octet length");
- DATA(insert OID = 1376 ( octet_length PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 varcharoctetlen - ));
- DESCR("octet length");
- DATA(insert OID = 1380 ( date_part PGUID 11 f t f 2 f 701 "25 1184" 100 0 0 100 datetime_part - ));
- DESCR("extract field from datetime");
- DATA(insert OID = 1381 ( date_part PGUID 11 f t f 2 f 701 "25 1186" 100 0 0 100 timespan_part - ));
- DESCR("extract field from timespan");
- DATA(insert OID = 1382 ( date_part PGUID 14 f t f 2 f 701 "25 702" 100 0 0 100 "select datetime_part($1, datetime($2))" - ));
- DESCR("extract field from abstime");
- DATA(insert OID = 1383 ( date_part PGUID 14 f t f 2 f 701 "25 703" 100 0 0 100 "select timespan_part($1, timespan($2))" - ));
- DESCR("extract field from reltime");
- DATA(insert OID = 1384 ( date_part PGUID 14 f t f 2 f 701 "25 1082" 100 0 0 100 "select datetime_part($1, datetime($2))" - ));
- DESCR("extract field from date");
- DATA(insert OID = 1385 ( date_part PGUID 14 f t f 2 f 701 "25 1083" 100 0 0 100 "select timespan_part($1, timespan($2))" - ));
- DESCR("extract field from time");
- DATA(insert OID = 1386 ( date_trunc PGUID 11 f t f 2 f 1184 "25 1184" 100 0 0 100 datetime_trunc - ));
- DESCR("truncate datetime to field");
- DATA(insert OID = 1387 ( date_trunc PGUID 11 f t f 2 f 1186 "25 1186" 100 0 0 100 timespan_trunc - ));
- DESCR("truncate timespan to field");
- DATA(insert OID = 1388 ( age PGUID 11 f t f 2 f 1186 "1184 1184" 100 0 0 100 datetime_age - ));
- DESCR("difference between datetimes but leave years and months unresolved");
- DATA(insert OID = 1389 ( age PGUID 14 f t f 1 f 1186 "1184" 100 0 0 100 "select datetime_age('today', $1)" - ));
- DESCR("difference between datetime and today but leave years and months unresolved");
- DATA(insert OID = 1390 ( isfinite PGUID 11 f t f 1 f 16 "1184" 100 0 0 100 datetime_finite - ));
- DESCR("boolean test");
- DATA(insert OID = 1391 ( isfinite PGUID 11 f t f 1 f 16 "1186" 100 0 0 100 timespan_finite - ));
- DESCR("boolean test");
- DATA(insert OID = 1392 ( isfinite PGUID 11 f t f 1 f 16 "702" 100 0 0 100 abstime_finite - ));
- DESCR("boolean test");
- DATA(insert OID = 1393 ( timespan PGUID 11 f t f 1 f 1186 "25" 100 0 0 100 text_timespan - ));
- DESCR("convert text to timespan");
- DATA(insert OID = 1394 ( name PGUID 11 f t f 1 f 19 "25" 100 0 0 100 text_name - ));
- DESCR("convert text to name");
- DATA(insert OID = 1395 ( text PGUID 11 f t f 1 f 25 "19" 100 0 0 100 name_text - ));
- DESCR("convert name to text");
- DATA(insert OID = 1396 ( name PGUID 11 f t f 1 f 19 "1042" 100 0 0 100 bpchar_name - ));
- DESCR("convert char() to name");
- DATA(insert OID = 1397 ( bpchar PGUID 11 f t f 1 f 1042 "19" 100 0 0 100 name_bpchar - ));
- DESCR("convert name to char()");
- DATA(insert OID = 1398 ( name PGUID 11 f t f 1 f 19 "1043" 100 0 0 100 text_name - ));
- DESCR("convert varchar to name");
- DATA(insert OID = 1399 ( varchar PGUID 11 f t f 1 f 1043 "19" 100 0 0 100 name_text - ));
- DESCR("convert convert name to varchar");
- /* OIDS 1400 - 1499 */
- DATA(insert OID = 1400 ( float PGUID 14 f t f 1 f 701 "701" 100 0 0 100 "select $1" - ));
- DESCR("convert float8 to float8 (no-op)");
- DATA(insert OID = 1401 ( float PGUID 11 f t f 1 f 701 "700" 100 0 0 100 ftod - ));
- DESCR("convert float4 to float8");
- DATA(insert OID = 1402 ( float4 PGUID 14 f t f 1 f 700 "700" 100 0 0 100 "select $1" - ));
- DESCR("convert float4 to float4 (no-op)");
- DATA(insert OID = 1403 ( float4 PGUID 11 f t f 1 f 700 "701" 100 0 0 100 dtof - ));
- DESCR("convert float8 to float4");
- DATA(insert OID = 1404 ( int PGUID 14 f t f 1 f 23 "23" 100 0 0 100 "select $1" - ));
- DESCR("convert (no-op)");
- DATA(insert OID = 1405 ( int2 PGUID 14 f t f 1 f 21 "21" 100 0 0 100 "select $1" - ));
- DESCR("convert (no-op)");
- DATA(insert OID = 1406 ( float8 PGUID 14 f t f 1 f 701 "701" 100 0 0 100 "select $1" - ));
- DESCR("convert (no-op)");
- DATA(insert OID = 1407 ( float8 PGUID 11 f t f 1 f 701 "700" 100 0 0 100 ftod - ));
- DESCR("convert float4 to float8");
- DATA(insert OID = 1408 ( float8 PGUID 11 f t f 1 f 701 "23" 100 0 0 100 i4tod - ));
- DESCR("convert int4 to float8");
- DATA(insert OID = 1409 ( float8 PGUID 11 f t f 1 f 701 "21" 100 0 0 100 i2tod - ));
- DESCR("convert int2 to float8");
- DATA(insert OID = 1410 ( float4 PGUID 11 f t f 1 f 700 "23" 100 0 0 100 i4tof - ));
- DESCR("convert int4 to float4");
- DATA(insert OID = 1411 ( float4 PGUID 11 f t f 1 f 700 "21" 100 0 0 100 i2tof - ));
- DESCR("convert int2 to float4");
- DATA(insert OID = 1412 ( int4 PGUID 14 f t f 1 f 23 "23" 100 0 0 100 "select $1" - ));
- DESCR("convert (no-op)");
- DATA(insert OID = 1413 ( int4 PGUID 11 f t f 1 f 23 "701" 100 0 0 100 dtoi4 - ));
- DESCR("convert float8 to int4");
- DATA(insert OID = 1414 ( int4 PGUID 11 f t f 1 f 23 "21" 100 0 0 100 i2toi4 - ));
- DESCR("convert int2 to int4");
- DATA(insert OID = 1415 ( int4 PGUID 11 f t f 1 f 23 "700" 100 0 0 100 ftoi4 - ));
- DESCR("convert float4 to int4");
- DATA(insert OID = 1417 ( int2 PGUID 11 f t f 1 f 21 "23" 100 0 0 100 i4toi2 - ));
- DESCR("convert int4 to int2");
- DATA(insert OID = 1418 ( int2 PGUID 11 f t f 1 f 21 "701" 100 0 0 100 dtoi2 - ));
- DESCR("convert float8 to int2");
- DATA(insert OID = 1419 ( int2 PGUID 11 f t f 1 f 21 "700" 100 0 0 100 ftoi2 - ));
- DESCR("convert float4 to int2");
- DATA(insert OID = 1421 ( box PGUID 11 f t f 2 f 603 "600 600" 100 0 0 100 box - ));
- DESCR("convert points to box");
- DATA(insert OID = 1422 ( box_add PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100 box_add - ));
- DESCR("add point to box (translate)");
- DATA(insert OID = 1423 ( box_sub PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100 box_sub - ));
- DESCR("subtract point from box (translate)");
- DATA(insert OID = 1424 ( box_mul PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100 box_mul - ));
- DESCR("multiply box by point (scale)");
- DATA(insert OID = 1425 ( box_div PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100 box_div - ));
- DESCR("divide box by point (scale)");
- DATA(insert OID = 1426 ( path_contain_pt PGUID 11 f t f 2 f 16 "602 600" 100 0 0 100 path_contain_pt - ));
- DESCR("path contains point?");
- DATA(insert OID = 1427 ( pt_contained_path PGUID 11 f t f 2 f 16 "600 602" 100 0 0 100 pt_contained_path - ));
- DESCR("point contained in path?");
- DATA(insert OID = 1428 ( poly_contain_pt PGUID 11 f t f 2 f 16 "604 600" 100 0 0 100 poly_contain_pt - ));
- DESCR("polygon contains point?");
- DATA(insert OID = 1429 ( pt_contained_poly PGUID 11 f t f 2 f 16 "600 604" 100 0 0 100 pt_contained_poly - ));
- DESCR("point contained by polygon?");
- DATA(insert OID = 1430 ( path_isclosed PGUID 11 f t f 1 f 16 "602" 100 0 0 100 path_isclosed - ));
- DESCR("");
- DATA(insert OID = 1431 ( path_isopen PGUID 11 f t f 1 f 16 "602" 100 0 0 100 path_isopen - ));
- DESCR("");
- DATA(insert OID = 1432 ( path_npoints PGUID 11 f t f 1 f 23 "602" 100 0 0 100 path_npoints - ));
- DESCR("");
- DATA(insert OID = 1433 ( path_close PGUID 11 f t f 1 f 602 "602" 100 0 0 100 path_close - ));
- DESCR("");
- DATA(insert OID = 1434 ( path_open PGUID 11 f t f 1 f 602 "602" 100 0 0 100 path_open - ));
- DESCR("");
- DATA(insert OID = 1435 ( path_add PGUID 11 f t f 2 f 602 "602 602" 100 0 0 100 path_add - ));
- DESCR("addition");
- DATA(insert OID = 1436 ( path_add_pt PGUID 11 f t f 2 f 602 "602 600" 100 0 0 100 path_add_pt - ));
- DESCR("addition");
- DATA(insert OID = 1437 ( path_sub_pt PGUID 11 f t f 2 f 602 "602 600" 100 0 0 100 path_sub_pt - ));
- DESCR("subtract");
- DATA(insert OID = 1438 ( path_mul_pt PGUID 11 f t f 2 f 602 "602 600" 100 0 0 100 path_mul_pt - ));
- DESCR("multiply");
- DATA(insert OID = 1439 ( path_div_pt PGUID 11 f t f 2 f 602 "602 600" 100 0 0 100 path_div_pt - ));
- DESCR("divide");
- DATA(insert OID = 1440 ( point PGUID 11 f t f 2 f 600 "701 701" 100 0 0 100 point - ));
- DESCR("convert x, y to point");
- DATA(insert OID = 1441 ( point_add PGUID 11 f t f 2 f 600 "600 600" 100 0 0 100 point_add - ));
- DESCR("add points (translate)");
- DATA(insert OID = 1442 ( point_sub PGUID 11 f t f 2 f 600 "600 600" 100 0 0 100 point_sub - ));
- DESCR("subtract points (translate)");
- DATA(insert OID = 1443 ( point_mul PGUID 11 f t f 2 f 600 "600 600" 100 0 0 100 point_mul - ));
- DESCR("multiply points (scale/rotate)");
- DATA(insert OID = 1444 ( point_div PGUID 11 f t f 2 f 600 "600 600" 100 0 0 100 point_div - ));
- DESCR("divide points (scale/rotate)");
- DATA(insert OID = 1445 ( poly_npoints PGUID 11 f t f 1 f 23 "604" 100 0 0 100 poly_npoints - ));
- DESCR("number of points in polygon");
- DATA(insert OID = 1446 ( poly_box PGUID 11 f t f 1 f 603 "604" 100 0 0 100 poly_box - ));
- DESCR("convert polygon to bounding box");
- DATA(insert OID = 1447 ( poly_path PGUID 11 f t f 1 f 602 "604" 100 0 0 100 poly_path - ));
- DESCR("convert polygon to path");
- DATA(insert OID = 1448 ( box_poly PGUID 11 f t f 1 f 604 "603" 100 0 0 100 box_poly - ));
- DESCR("convert box to polygon");
- DATA(insert OID = 1449 ( path_poly PGUID 11 f t f 1 f 604 "602" 100 0 0 100 path_poly - ));
- DESCR("convert path to polygon");
- DATA(insert OID = 1450 ( circle_in PGUID 11 f t f 1 f 718 "0" 100 0 1 0 circle_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1451 ( circle_out PGUID 11 f t f 1 f 23 "0" 100 0 1 0 circle_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1452 ( circle_same PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_same - ));
- DESCR("same as");
- DATA(insert OID = 1453 ( circle_contain PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_contain - ));
- DESCR("contains");
- DATA(insert OID = 1454 ( circle_left PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_left - ));
- DESCR("is left of");
- DATA(insert OID = 1455 ( circle_overleft PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_overleft - ));
- DESCR("overlaps, but does not extend to right of");
- DATA(insert OID = 1456 ( circle_overright PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_overright - ));
- DESCR("");
- DATA(insert OID = 1457 ( circle_right PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_right - ));
- DESCR("is left of");
- DATA(insert OID = 1458 ( circle_contained PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_contained - ));
- DESCR("");
- DATA(insert OID = 1459 ( circle_overlap PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_overlap - ));
- DESCR("overlaps");
- DATA(insert OID = 1460 ( circle_below PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_below - ));
- DESCR("is below");
- DATA(insert OID = 1461 ( circle_above PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_above - ));
- DESCR("is above");
- DATA(insert OID = 1462 ( circle_eq PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_eq - ));
- DESCR("equal");
- DATA(insert OID = 1463 ( circle_ne PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1464 ( circle_lt PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1465 ( circle_gt PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1466 ( circle_le PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1467 ( circle_ge PGUID 11 f t f 2 f 16 "718 718" 100 0 1 0 circle_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1468 ( circle_area PGUID 11 f t f 1 f 701 "718" 100 0 1 0 circle_area - ));
- DESCR("area");
- DATA(insert OID = 1469 ( circle_diameter PGUID 11 f t f 1 f 701 "718" 100 0 1 0 circle_diameter - ));
- DESCR("diameter");
- DATA(insert OID = 1470 ( circle_radius PGUID 11 f t f 1 f 701 "718" 100 0 1 0 circle_radius - ));
- DESCR("radius");
- DATA(insert OID = 1471 ( circle_distance PGUID 11 f t f 2 f 701 "718 718" 100 0 1 0 circle_distance - ));
- DESCR("distance between");
- DATA(insert OID = 1472 ( circle_center PGUID 11 f t f 1 f 600 "718" 100 0 1 0 circle_center - ));
- DESCR("center of");
- DATA(insert OID = 1473 ( circle PGUID 11 f t f 2 f 718 "600 701" 100 0 1 0 circle - ));
- DESCR("convert point and radius to circle");
- DATA(insert OID = 1474 ( poly_circle PGUID 11 f t f 1 f 718 "604" 100 0 1 0 poly_circle - ));
- DESCR("convert polygon to circle");
- DATA(insert OID = 1475 ( circle_poly PGUID 11 f t f 2 f 604 "23 718" 100 0 1 0 circle_poly - ));
- DESCR("convert vertex count and circle to polygon");
- DATA(insert OID = 1476 ( dist_pc PGUID 11 f t f 2 f 701 "600 718" 100 0 1 0 dist_pc - ));
- DESCR("distance between");
- DATA(insert OID = 1477 ( circle_contain_pt PGUID 11 f t f 2 f 16 "718 600" 100 0 0 100 circle_contain_pt - ));
- DESCR("");
- DATA(insert OID = 1478 ( pt_contained_circle PGUID 11 f t f 2 f 16 "600 718" 100 0 0 100 pt_contained_circle - ));
- DESCR("");
- DATA(insert OID = 1479 ( box_circle PGUID 11 f t f 1 f 718 "603" 100 0 1 0 box_circle - ));
- DESCR("convert box to circle");
- DATA(insert OID = 1480 ( circle_box PGUID 11 f t f 1 f 603 "718" 100 0 1 0 circle_box - ));
- DESCR("convert circle to box");
- DATA(insert OID = 1481 ( text_substr PGUID 11 f t f 3 f 25 "25 23 23" 100 0 0 100 text_substr - ));
- DESCR("return portion of string");
- DATA(insert OID = 1482 ( lseg_ne PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1483 ( lseg_lt PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_lt - ));
- DESCR("less-than");
- DATA(insert OID = 1484 ( lseg_le PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 1485 ( lseg_gt PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1486 ( lseg_ge PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1487 ( lseg_length PGUID 11 f t f 1 f 701 "601" 100 0 1 0 lseg_length - ));
- DESCR("distance between endpoints");
- DATA(insert OID = 1488 ( close_ls PGUID 11 f t f 2 f 600 "628 601" 100 0 10 100 close_ls - ));
- DESCR("closest point to line on line segment");
- DATA(insert OID = 1489 ( close_lseg PGUID 11 f t f 2 f 600 "601 601" 100 0 10 100 close_lseg - ));
- DESCR("closest point to line segment on line segment");
- DATA(insert OID = 1490 ( line_in PGUID 11 f t f 1 f 628 "0" 100 0 0 100 line_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1491 ( line_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 line_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1492 ( line_eq PGUID 11 f t f 2 f 16 "628 628" 100 0 0 100 line_eq - ));
- DESCR("lines equal?");
- DATA(insert OID = 1493 ( line_construct_pp PGUID 11 f t f 2 f 628 "600 600" 100 0 0 100 line_construct_pp - ));
- DESCR("line from points");
- DATA(insert OID = 1494 ( line_interpt PGUID 11 f t f 2 f 600 "628 628" 100 0 0 100 line_interpt - ));
- DESCR("intersection point");
- DATA(insert OID = 1495 ( line_intersect PGUID 11 f t f 2 f 16 "628 628" 100 0 0 100 line_intersect - ));
- DESCR("lines intersect?");
- DATA(insert OID = 1496 ( line_parallel PGUID 11 f t f 2 f 16 "628 628" 100 0 0 100 line_parallel - ));
- DESCR("lines parallel?");
- DATA(insert OID = 1497 ( line_perp PGUID 11 f t f 2 f 16 "628 628" 100 0 0 100 line_perp - ));
- DESCR("lines perpendicular?");
- DATA(insert OID = 1498 ( line_vertical PGUID 11 f t f 1 f 16 "628" 100 0 0 100 line_vertical - ));
- DESCR("lines vertical?");
- DATA(insert OID = 1499 ( line_horizontal PGUID 11 f t f 1 f 16 "628" 100 0 0 100 line_horizontal - ));
- DESCR("lines horizontal?");
- /* OIDS 1500 - 1599 */
- DATA(insert OID = 1530 ( point PGUID 11 f t f 2 f 600 "601 601" 100 0 0 100 lseg_interpt - ));
- DESCR("convert two line segments to point (intersection)");
- DATA(insert OID = 1531 ( point PGUID 11 f t f 1 f 600 "718" 100 0 0 100 circle_center - ));
- DESCR("convert circle to point (center)");
- DATA(insert OID = 1532 ( isvertical PGUID 11 f t f 2 f 16 "600 600" 100 0 0 100 point_vert - ));
- DESCR("");
- DATA(insert OID = 1533 ( ishorizontal PGUID 11 f t f 2 f 16 "600 600" 100 0 0 100 point_horiz - ));
- DESCR("");
- DATA(insert OID = 1534 ( slope PGUID 11 f t f 2 f 701 "600 600" 100 0 0 100 point_slope - ));
- DESCR("");
- DATA(insert OID = 1540 ( lseg PGUID 11 f t f 2 f 601 "600 600" 100 0 0 100 lseg_construct - ));
- DESCR("");
- DATA(insert OID = 1541 ( lseg PGUID 11 f t f 1 f 601 "603" 100 0 0 100 box_diagonal - ));
- DESCR("");
- DATA(insert OID = 1542 ( isparallel PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_parallel - ));
- DESCR("");
- DATA(insert OID = 1543 ( isperpendicular PGUID 11 f t f 2 f 16 "601 601" 100 0 0 100 lseg_perp - ));
- DESCR("");
- DATA(insert OID = 1544 ( isvertical PGUID 11 f t f 1 f 16 "601" 100 0 0 100 lseg_vertical - ));
- DESCR("");
- DATA(insert OID = 1545 ( ishorizontal PGUID 11 f t f 1 f 16 "601" 100 0 0 100 lseg_horizontal - ));
- DESCR("");
- /* pclose and popen might better be named close and open, but that crashes initdb.
- * - tgl 97/04/20
- */
- DATA(insert OID = 1550 ( path PGUID 11 f t f 1 f 602 "604" 100 0 0 100 poly_path - ));
- DESCR("");
- DATA(insert OID = 1551 ( length PGUID 11 f t f 1 f 701 "602" 100 0 1 0 path_length - ));
- DESCR("sum of lengths of path segments");
- DATA(insert OID = 1552 ( points PGUID 11 f t f 1 f 23 "602" 100 0 0 100 path_npoints - ));
- DESCR("");
- DATA(insert OID = 1553 ( pclose PGUID 11 f t f 1 f 602 "602" 100 0 0 100 path_close - ));
- DESCR("");
- DATA(insert OID = 1554 ( popen PGUID 11 f t f 1 f 602 "602" 100 0 0 100 path_open - ));
- DESCR("");
- DATA(insert OID = 1555 ( isopen PGUID 11 f t f 1 f 16 "602" 100 0 0 100 path_isopen - ));
- DESCR("");
- DATA(insert OID = 1556 ( isclosed PGUID 11 f t f 1 f 16 "602" 100 0 0 100 path_isclosed - ));
- DESCR("");
- DATA(insert OID = 1560 ( box PGUID 11 f t f 2 f 603 "603 603" 100 0 0 100 box_intersect - ));
- DESCR("convert boxes to box (intersection)");
- DATA(insert OID = 1561 ( box PGUID 11 f t f 1 f 603 "604" 100 0 0 100 poly_box - ));
- DESCR("convert polygon to box");
- DATA(insert OID = 1562 ( width PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_width - ));
- DESCR("box width");
- DATA(insert OID = 1563 ( height PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_height - ));
- DESCR("box height");
- DATA(insert OID = 1564 ( center PGUID 11 f t f 1 f 600 "603" 100 0 0 100 box_center - ));
- DESCR("box center");
- DATA(insert OID = 1565 ( area PGUID 11 f t f 1 f 701 "603" 100 0 0 100 box_area - ));
- DESCR("box area");
- DATA(insert OID = 1569 ( box PGUID 11 f t f 1 f 603 "718" 100 0 0 100 circle_box - ));
- DESCR("convert circle to box");
- DATA(insert OID = 1570 ( polygon PGUID 11 f t f 1 f 604 "602" 100 0 0 100 path_poly - ));
- DESCR("convert path to polygon");
- DATA(insert OID = 1571 ( polygon PGUID 11 f t f 1 f 604 "603" 100 0 0 100 box_poly - ));
- DESCR("convert box to polygon");
- DATA(insert OID = 1572 ( polygon PGUID 11 f t f 2 f 604 "23 718" 100 0 0 100 circle_poly - ));
- DESCR("convert circle to polygon");
- DATA(insert OID = 1573 ( polygon PGUID 14 f t f 1 f 604 "718" 100 0 0 100 "select circle_poly(12, $1)" - ));
- DESCR("convert circle to 12-vertex polygon");
- DATA(insert OID = 1574 ( points PGUID 11 f t f 1 f 23 "604" 100 0 0 100 poly_npoints - ));
- DESCR("");
- DATA(insert OID = 1575 ( center PGUID 11 f t f 1 f 600 "604" 100 0 0 100 poly_center - ));
- DESCR("");
- DATA(insert OID = 1576 ( length PGUID 11 f t f 1 f 701 "601" 100 0 1 0 lseg_length - ));
- DESCR("distance between endpoints");
- DATA(insert OID = 1579 ( circle PGUID 11 f t f 1 f 718 "603" 100 0 0 100 box_circle - ));
- DESCR("convert box to circle");
- DATA(insert OID = 1580 ( circle PGUID 11 f t f 1 f 718 "604" 100 0 0 100 poly_circle - ));
- DESCR("convert polygon to circle");
- DATA(insert OID = 1581 ( center PGUID 11 f t f 1 f 600 "718" 100 0 0 100 circle_center - ));
- DESCR("center of circle");
- DATA(insert OID = 1582 ( radius PGUID 11 f t f 1 f 701 "718" 100 0 0 100 circle_radius - ));
- DESCR("radius of circle");
- DATA(insert OID = 1583 ( diameter PGUID 11 f t f 1 f 701 "718" 100 0 0 100 circle_diameter - ));
- DESCR("diameter of circle");
- DATA(insert OID = 1584 ( area PGUID 11 f t f 1 f 701 "718" 100 0 0 100 circle_area - ));
- DESCR("area of circle");
- DATA(insert OID = 1592 ( int8 PGUID 14 f t f 1 f 20 "20" 100 0 0 100 "select $1" - ));
- DESCR("convert int8 to int8 (no-op)");
- DATA(insert OID = 1593 ( int8 PGUID 11 f t f 1 f 20 "23" 100 0 0 100 int48 - ));
- DESCR("convert int4 to int8");
- DATA(insert OID = 1594 ( int8 PGUID 11 f t f 1 f 20 "701" 100 0 0 100 dtoi8 - ));
- DESCR("convert float8 to int8");
- DATA(insert OID = 1595 ( int4 PGUID 11 f t f 1 f 23 "20" 100 0 0 100 int84 - ));
- DESCR("convert int8 to int4");
- DATA(insert OID = 1596 ( float8 PGUID 11 f t f 1 f 701 "20" 100 0 0 100 i8tod - ));
- DESCR("convert int8 to float8");
- /* OIDS 1600 - 1699 */
- DATA(insert OID = 1600 ( line PGUID 11 f t f 2 f 628 "600 600" 100 0 0 100 line_construct_pp - ));
- DESCR("points to line");
- DATA(insert OID = 1601 ( ishorizontal PGUID 11 f t f 1 f 16 "628" 100 0 0 100 line_horizontal - ));
- DESCR("is line horizontal?");
- DATA(insert OID = 1602 ( isvertical PGUID 11 f t f 1 f 16 "628" 100 0 0 100 line_vertical - ));
- DESCR("is line vertical?");
- DATA(insert OID = 1603 ( isparallel PGUID 11 f t f 2 f 16 "628 628" 100 0 0 100 line_parallel - ));
- DESCR("are lines parallel?");
- DATA(insert OID = 1604 ( float8 PGUID 11 f t f 1 f 701 "25" 100 0 0 100 text_float8 - ));
- DESCR("convert text to float8");
- DATA(insert OID = 1605 ( float4 PGUID 11 f t f 1 f 700 "25" 100 0 0 100 text_float4 - ));
- DESCR("convert text to float4");
- DATA(insert OID = 1606 ( text PGUID 11 f t f 1 f 25 "701" 100 0 0 100 float8_text - ));
- DESCR("convert float8 to text");
- DATA(insert OID = 1607 ( text PGUID 11 f t f 1 f 25 "700" 100 0 0 100 float4_text - ));
- DESCR("convert float4 to text");
- DATA(insert OID = 1619 ( varchar PGUID 11 f t f 1 f 1043 "23" 100 0 0 100 int4_text - ));
- DESCR("convert int4 to varchar");
- DATA(insert OID = 1620 ( int4 PGUID 11 f t f 1 f 23 "1043" 100 0 0 100 text_int4 - ));
- DESCR("convert varchar to int4");
- DATA(insert OID = 1621 ( text PGUID 11 f t f 1 f 25 "20" 100 0 0 100 int8_text - ));
- DESCR("convert int8 to text");
- DATA(insert OID = 1622 ( int8 PGUID 11 f t f 1 f 20 "25" 100 0 0 100 text_int8 - ));
- DESCR("convert text to int8");
- DATA(insert OID = 1623 ( varchar PGUID 11 f t f 1 f 1043 "20" 100 0 0 100 int8_text - ));
- DESCR("convert int8 to varchar");
- DATA(insert OID = 1624 ( int8 PGUID 11 f t f 1 f 20 "1043" 100 0 0 100 text_int8 - ));
- DESCR("convert varchar to int8");
- /* Oracle Compatibility Related Functions - By Edmund Mergl <E.Mergl@bawue.de> */
- DATA(insert OID = 868 ( strpos PGUID 11 f t f 2 f 23 "25 25" 100 0 0 100 textpos - ));
- DESCR("find position of substring");
- DATA(insert OID = 870 ( lower PGUID 11 f t f 1 f 25 "25" 100 0 0 100 lower - ));
- DESCR("lowercase");
- DATA(insert OID = 871 ( upper PGUID 11 f t f 1 f 25 "25" 100 0 0 100 upper - ));
- DESCR("uppercase");
- DATA(insert OID = 872 ( initcap PGUID 11 f t f 1 f 25 "25" 100 0 0 100 initcap - ));
- DESCR("capitalize each word");
- DATA(insert OID = 873 ( lpad PGUID 11 f t f 3 f 25 "25 23 25" 100 0 0 100 lpad - ));
- DESCR("left-pad string to length");
- DATA(insert OID = 874 ( rpad PGUID 11 f t f 3 f 25 "25 23 25" 100 0 0 100 rpad - ));
- DESCR("right-pad string to length");
- DATA(insert OID = 875 ( ltrim PGUID 11 f t f 2 f 25 "25 25" 100 0 0 100 ltrim - ));
- DESCR("left-pad string to length");
- DATA(insert OID = 876 ( rtrim PGUID 11 f t f 2 f 25 "25 25" 100 0 0 100 rtrim - ));
- DESCR("right-pad string to length");
- DATA(insert OID = 877 ( substr PGUID 11 f t f 3 f 25 "25 23 23" 100 0 0 100 text_substr - ));
- DESCR("return portion of string");
- DATA(insert OID = 878 ( translate PGUID 11 f t f 3 f 25 "25 18 18" 100 0 0 100 translate - ));
- DESCR("modify string by substring replacement");
- DATA(insert OID = 879 ( lpad PGUID 14 f t f 2 f 25 "25 23" 100 0 0 100 "select lpad($1, $2, ' ')" - ));
- DESCR("left-pad string to length");
- DATA(insert OID = 880 ( rpad PGUID 14 f t f 2 f 25 "25 23" 100 0 0 100 "select rpad($1, $2, ' ')" - ));
- DESCR("right-pad string to length");
- DATA(insert OID = 881 ( ltrim PGUID 14 f t f 1 f 25 "25" 100 0 0 100 "select ltrim($1, ' ')" - ));
- DESCR("remove initial characters from string");
- DATA(insert OID = 882 ( rtrim PGUID 14 f t f 1 f 25 "25" 100 0 0 100 "select rtrim($1, ' ')" - ));
- DESCR("remove trailing characters from string");
- DATA(insert OID = 883 ( substr PGUID 14 f t f 2 f 25 "25 23" 100 0 0 100 "select text_substr($1, $2, -1)" - ));
- DESCR("return portion of string");
- DATA(insert OID = 884 ( btrim PGUID 11 f t f 2 f 25 "25 25" 100 0 0 100 btrim - ));
- DESCR("trim both ends of string");
- DATA(insert OID = 885 ( btrim PGUID 14 f t f 1 f 25 "25" 100 0 0 100 "select btrim($1, ' ')" - ));
- DESCR("trim both ends of string");
- /* SEQUENCEs nextval & currval functions */
- DATA(insert OID = 1317 ( nextval PGUID 11 f t f 1 f 23 "25" 100 0 0 100 nextval - ));
- DESCR("sequence next value");
- DATA(insert OID = 1319 ( currval PGUID 11 f t f 1 f 23 "25" 100 0 0 100 currval - ));
- DESCR("sequence current value");
- DATA(insert OID = 1618 ( setval PGUID 11 f t f 2 f 23 "25 23" 100 0 0 100 setval - ));
- DESCR("sequence set value");
- /* for multi-byte support */
- DATA(insert OID = 1039 ( getdatabaseencoding PGUID 11 f t f 0 f 19 "0" 100 0 0 100 getdatabaseencoding - ));
- /* System-view support functions */
- DATA(insert OID = 1640 ( pg_get_ruledef PGUID 11 f t f 1 f 25 "19" 100 0 0 100 pg_get_ruledef - ));
- DESCR("source text of a rule");
- DATA(insert OID = 1641 ( pg_get_viewdef PGUID 11 f t f 1 f 25 "19" 100 0 0 100 pg_get_viewdef - ));
- DESCR("select statement of a view");
- DATA(insert OID = 1642 ( pg_get_userbyid PGUID 11 f t f 1 f 19 "23" 100 0 0 100 pg_get_userbyid - ));
- DESCR("user name by UID (with fallback)");
- DATA(insert OID = 1643 ( pg_get_indexdef PGUID 11 f t f 1 f 25 "26" 100 0 0 100 pg_get_indexdef - ));
- DESCR("index description");
- /* for mac type support */
- DATA(insert OID = 436 ( macaddr_in PGUID 11 f t f 1 f 829 "0" 100 0 0 100 macaddr_in - ));
- DESCR("(internal)");
- DATA(insert OID = 437 ( macaddr_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 macaddr_out - ));
- DESCR("(internal)");
- DATA(insert OID = 830 ( macaddr_eq PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_eq - ));
- DESCR("equal");
- DATA(insert OID = 831 ( macaddr_lt PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_lt - ));
- DESCR("less-than");
- DATA(insert OID = 832 ( macaddr_le PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 833 ( macaddr_gt PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 834 ( macaddr_ge PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 835 ( macaddr_ne PGUID 11 f t f 2 f 16 "829 829" 100 0 0 100 macaddr_ne - ));
- DESCR("not equal");
- DATA(insert OID = 836 ( macaddr_cmp PGUID 11 f t f 2 f 23 "829 829" 100 0 0 100 macaddr_cmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 837 ( macaddr_manuf PGUID 11 f t f 1 f 25 "829" 100 0 0 100 macaddr_manuf - ));
- DESCR("MAC manufacturer");
- /* for inet type support */
- DATA(insert OID = 910 ( inet_in PGUID 11 f t f 1 f 869 "0" 100 0 0 100 inet_in - ));
- DESCR("(internal)");
- DATA(insert OID = 911 ( inet_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 inet_out - ));
- DESCR("(internal)");
- /* for cidr type support */
- DATA(insert OID = 1267 ( cidr_in PGUID 11 f t f 1 f 650 "0" 100 0 0 100 cidr_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1416 ( cidr_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 cidr_out - ));
- DESCR("(internal)");
- /* these are used for both inet and cidr */
- DATA(insert OID = 920 ( network_eq PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_eq - ));
- DESCR("equal");
- DATA(insert OID = 921 ( network_lt PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_lt - ));
- DESCR("less-than");
- DATA(insert OID = 922 ( network_le PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_le - ));
- DESCR("less-than-or-equal");
- DATA(insert OID = 923 ( network_gt PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 924 ( network_ge PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 925 ( network_ne PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_ne - ));
- DESCR("not equal");
- DATA(insert OID = 926 ( network_cmp PGUID 11 f t f 2 f 23 "869 869" 100 0 0 100 network_cmp - ));
- DESCR("less-equal-greater");
- DATA(insert OID = 927 ( network_sub PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_sub - ));
- DESCR("is-subnet");
- DATA(insert OID = 928 ( network_subeq PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_subeq - ));
- DESCR("is-subnet-or-equal");
- DATA(insert OID = 929 ( network_sup PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_sup - ));
- DESCR("is-supernet");
- DATA(insert OID = 930 ( network_supeq PGUID 11 f t f 2 f 16 "869 869" 100 0 0 100 network_supeq - ));
- DESCR("is-supernet-or-equal");
- /* inet/cidr versions */
- DATA(insert OID = 940 ( network_netmask PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_netmask - ));
- DESCR("netmask of address");
- DATA(insert OID = 941 ( network_masklen PGUID 11 f t f 1 f 23 "869" 100 0 0 100 network_masklen - ));
- DESCR("netmask length");
- DATA(insert OID = 945 ( network_broadcast PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_broadcast - ));
- DESCR("broadcast address");
- DATA(insert OID = 682 ( network_host PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_host - ));
- DESCR("host address");
- DATA(insert OID = 473 ( network_network PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_network - ));
- DESCR("network address");
- /* shortcut names */
- DATA(insert OID = 696 ( netmask PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_netmask - ));
- DESCR("netmask of address");
- DATA(insert OID = 697 ( masklen PGUID 11 f t f 1 f 23 "869" 100 0 0 100 network_masklen - ));
- DESCR("netmask length");
- DATA(insert OID = 698 ( broadcast PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_broadcast - ));
- DESCR("broadcast address");
- DATA(insert OID = 699 ( host PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_host - ));
- DESCR("host address");
- DATA(insert OID = 683 ( network PGUID 11 f t f 1 f 25 "869" 100 0 0 100 network_network - ));
- DESCR("network address");
- /* OID's 1700 - 1799 NUMERIC data type */
- DATA(insert OID = 1701 ( numeric_in PGUID 11 f t f 3 f 1700 "0 0 23" 100 0 0 100 numeric_in - ));
- DESCR("(internal)");
- DATA(insert OID = 1702 ( numeric_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 numeric_out - ));
- DESCR("(internal)");
- DATA(insert OID = 1703 ( numeric PGUID 11 f t f 2 f 1700 "1700 23" 100 0 0 100 numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1704 ( numeric_abs PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_abs - ));
- DESCR("absolute value");
- DATA(insert OID = 1705 ( abs PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_abs - ));
- DESCR("absolute value");
- DATA(insert OID = 1706 ( numeric_sign PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_sign - ));
- DESCR("sign of value");
- DATA(insert OID = 1707 ( sign PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_sign - ));
- DESCR("sign of value");
- DATA(insert OID = 1708 ( numeric_round PGUID 11 f t f 2 f 1700 "1700 23" 100 0 0 100 numeric_round - ));
- DESCR("value rounded to 'scale'");
- DATA(insert OID = 1709 ( round PGUID 11 f t f 2 f 1700 "1700 23" 100 0 0 100 numeric_round - ));
- DESCR("value rounded to 'scale'");
- DATA(insert OID = 1710 ( round PGUID 14 f t f 1 f 1700 "1700" 100 0 0 100 "select numeric_round($1,0)" - ));
- DESCR("value rounded to 'scale' of zero");
- DATA(insert OID = 1711 ( numeric_trunc PGUID 11 f t f 2 f 1700 "1700 23" 100 0 0 100 numeric_trunc - ));
- DESCR("value truncated to 'scale'");
- DATA(insert OID = 1712 ( trunc PGUID 11 f t f 2 f 1700 "1700 23" 100 0 0 100 numeric_trunc - ));
- DESCR("value truncated to 'scale'");
- DATA(insert OID = 1713 ( trunc PGUID 14 f t f 1 f 1700 "1700" 100 0 0 100 "select numeric_trunc($1,0)" - ));
- DESCR("value truncated to 'scale' of zero");
- DATA(insert OID = 1714 ( numeric_ceil PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_ceil - ));
- DESCR("smallest integer >= value");
- DATA(insert OID = 1715 ( ceil PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_ceil - ));
- DESCR("smallest integer >= value");
- DATA(insert OID = 1716 ( numeric_floor PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_floor - ));
- DESCR("largest integer <= value");
- DATA(insert OID = 1717 ( floor PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_floor - ));
- DESCR("largest integer <= value");
- DATA(insert OID = 1718 ( numeric_eq PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_eq - ));
- DESCR("equal");
- DATA(insert OID = 1719 ( numeric_ne PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_ne - ));
- DESCR("not equal");
- DATA(insert OID = 1720 ( numeric_gt PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_gt - ));
- DESCR("greater-than");
- DATA(insert OID = 1721 ( numeric_ge PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_ge - ));
- DESCR("greater-than-or-equal");
- DATA(insert OID = 1722 ( numeric_lt PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_lt - ));
- DESCR("lower-than");
- DATA(insert OID = 1723 ( numeric_le PGUID 11 f t f 2 f 16 "1700 1700" 100 0 0 100 numeric_le - ));
- DESCR("lower-than-or-equal");
- DATA(insert OID = 1724 ( numeric_add PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_add - ));
- DESCR("addition");
- DATA(insert OID = 1725 ( numeric_sub PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_sub - ));
- DESCR("subtract");
- DATA(insert OID = 1726 ( numeric_mul PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_mul - ));
- DESCR("multiply");
- DATA(insert OID = 1727 ( numeric_div PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_div - ));
- DESCR("divide");
- DATA(insert OID = 1728 ( numeric_mod PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_mod - ));
- DESCR("modulus");
- DATA(insert OID = 1729 ( mod PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_mod - ));
- DESCR("modulus");
- DATA(insert OID = 1730 ( numeric_sqrt PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_sqrt - ));
- DESCR("square root");
- DATA(insert OID = 1731 ( sqrt PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_sqrt - ));
- DESCR("square root");
- DATA(insert OID = 1732 ( numeric_exp PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_exp - ));
- DESCR("e raised to the power of n");
- DATA(insert OID = 1733 ( exp PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_exp - ));
- DESCR("e raised to the power of n");
- DATA(insert OID = 1734 ( numeric_ln PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_ln - ));
- DESCR("natural logarithm of n");
- DATA(insert OID = 1735 ( ln PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_ln - ));
- DESCR("natural logarithm of n");
- DATA(insert OID = 1736 ( numeric_log PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_log - ));
- DESCR("logarithm base m of n");
- DATA(insert OID = 1737 ( log PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_log - ));
- DESCR("logarithm base m of n");
- DATA(insert OID = 1738 ( numeric_power PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_power - ));
- DESCR("m raised to the power of n");
- DATA(insert OID = 1739 ( power PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_power - ));
- DESCR("m raised to the power of n");
- DATA(insert OID = 1740 ( int4_numeric PGUID 11 f t f 1 f 1700 "23" 100 0 0 100 int4_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1741 ( numeric PGUID 11 f t f 1 f 1700 "23" 100 0 0 100 int4_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1742 ( float4_numeric PGUID 11 f t f 1 f 1700 "700" 100 0 0 100 float4_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1743 ( numeric PGUID 11 f t f 1 f 1700 "700" 100 0 0 100 float4_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1744 ( float8_numeric PGUID 11 f t f 1 f 1700 "701" 100 0 0 100 float8_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1745 ( numeric PGUID 11 f t f 1 f 1700 "701" 100 0 0 100 float8_numeric - ));
- DESCR("(internal)");
- DATA(insert OID = 1746 ( numeric_int4 PGUID 11 f t f 1 f 23 "1700" 100 0 0 100 numeric_int4 - ));
- DESCR("(internal)");
- DATA(insert OID = 1747 ( int4 PGUID 11 f t f 1 f 23 "1700" 100 0 0 100 numeric_int4 - ));
- DESCR("(internal)");
- DATA(insert OID = 1748 ( numeric_float4 PGUID 11 f t f 1 f 700 "1700" 100 0 0 100 numeric_float4 - ));
- DESCR("(internal)");
- DATA(insert OID = 1749 ( float4 PGUID 11 f t f 1 f 700 "1700" 100 0 0 100 numeric_float4 - ));
- DESCR("(internal)");
- DATA(insert OID = 1750 ( numeric_float8 PGUID 11 f t f 1 f 701 "1700" 100 0 0 100 numeric_float8 - ));
- DESCR("(internal)");
- DATA(insert OID = 1751 ( float8 PGUID 11 f t f 1 f 701 "1700" 100 0 0 100 numeric_float8 - ));
- DESCR("(internal)");
- DATA(insert OID = 1764 ( numeric_inc PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_inc - ));
- DESCR("increment by one");
- DATA(insert OID = 1765 ( numeric_dec PGUID 11 f t f 1 f 1700 "1700" 100 0 0 100 numeric_dec - ));
- DESCR("decrement by one");
- DATA(insert OID = 1766 ( numeric_smaller PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_smaller - ));
- DESCR("smaller of two numbers");
- DATA(insert OID = 1767 ( numeric_larger PGUID 11 f t f 2 f 1700 "1700 1700" 100 0 0 100 numeric_larger - ));
- DESCR("larger of two numbers");
- /*
- * prototypes for functions pg_proc.c
- */
- extern Oid ProcedureCreate(char *procedureName,
- bool returnsSet,
- char *returnTypeName,
- char *languageName,
- char *prosrc,
- char *probin,
- bool canCache,
- bool trusted,
- int32 byte_pct,
- int32 perbyte_cpu,
- int32 percall_cpu,
- int32 outin_ratio,
- List *argList,
- CommandDest dest);
- #endif /* PG_PROC_H */