@ -7,7 +7,7 @@
* Portions Copyright ( c ) 1996 - 2001 , PostgreSQL Global Development Group
* Portions Copyright ( c ) 1996 - 2001 , PostgreSQL Global Development Group
* Portions Copyright ( c ) 1994 , Regents of the University of California
* Portions Copyright ( c ) 1994 , Regents of the University of California
*
*
* $ Id : pg_proc . h , v 1.211 2001 / 09 / 14 17 : 46 : 40 momjian Exp $
* $ Id : pg_proc . h , v 1.212 2001 / 09 / 28 08 : 09 : 13 thomas Exp $
*
*
* NOTES
* NOTES
* The script catalog / genbki . sh reads this file and generates . bki
* The script catalog / genbki . sh reads this file and generates . bki
@ -501,9 +501,9 @@ DATA(insert OID = 242 ( reltimein PGUID 12 f t f t 1 f 703 "0" 100 0 0 100
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 243 ( reltimeout PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 reltimeout - ) ) ;
DATA ( insert OID = 243 ( reltimeout PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 reltimeout - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 244 ( timepl PGUID 12 f t f t 2 f 702 " 702 703 " 100 0 0 100 timepl - ) ) ;
DATA ( insert OID = 244 ( timepl PGUID 12 f t t t 2 f 702 " 702 703 " 100 0 0 100 timepl - ) ) ;
DESCR ( " add " ) ;
DESCR ( " add " ) ;
DATA ( insert OID = 245 ( timemi PGUID 12 f t f t 2 f 702 " 702 703 " 100 0 0 100 timemi - ) ) ;
DATA ( insert OID = 245 ( timemi PGUID 12 f t t t 2 f 702 " 702 703 " 100 0 0 100 timemi - ) ) ;
DESCR ( " subtract " ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 246 ( tintervalin PGUID 12 f t f t 1 f 704 " 0 " 100 0 0 100 tintervalin - ) ) ;
DATA ( insert OID = 246 ( tintervalin PGUID 12 f t f t 1 f 704 " 0 " 100 0 0 100 tintervalin - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
@ -1119,8 +1119,6 @@ DATA(insert OID = 886 ( cash_in PGUID 12 f t t t 1 f 790 "0" 100 0 0 100
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 887 ( cash_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 cash_out - ) ) ;
DATA ( insert OID = 887 ( cash_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 cash_out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1273 ( cash_words PGUID 12 f t t t 1 f 25 " 790 " 100 0 0 100 cash_words - ) ) ;
DESCR ( " output amount as words " ) ;
DATA ( insert OID = 888 ( cash_eq PGUID 12 f t t t 2 f 16 " 790 790 " 100 0 0 100 cash_eq - ) ) ;
DATA ( insert OID = 888 ( cash_eq PGUID 12 f t t t 2 f 16 " 790 790 " 100 0 0 100 cash_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
DATA ( insert OID = 889 ( cash_ne PGUID 12 f t t t 2 f 16 " 790 790 " 100 0 0 100 cash_ne - ) ) ;
DATA ( insert OID = 889 ( cash_ne PGUID 12 f t t t 2 f 16 " 790 790 " 100 0 0 100 cash_ne - ) ) ;
@ -1145,9 +1143,10 @@ DATA(insert OID = 898 ( cashlarger PGUID 12 f t t t 2 f 790 "790 790" 100 0
DESCR ( " larger of two " ) ;
DESCR ( " larger of two " ) ;
DATA ( insert OID = 899 ( cashsmaller PGUID 12 f t t t 2 f 790 " 790 790 " 100 0 0 100 cashsmaller - ) ) ;
DATA ( insert OID = 899 ( cashsmaller PGUID 12 f t t t 2 f 790 " 790 790 " 100 0 0 100 cashsmaller - ) ) ;
DESCR ( " smaller of two " ) ;
DESCR ( " smaller of two " ) ;
DATA ( insert OID = 919 ( flt8_mul_cash PGUID 12 f t t t 2 f 790 " 701 790 " 100 0 0 100 flt8_mul_cash - ) ) ;
DATA ( insert OID = 919 ( flt8_mul_cash PGUID 12 f t t t 2 f 790 " 701 790 " 100 0 0 100 flt8_mul_cash - ) ) ;
DESCR ( " multiply " ) ;
DESCR ( " multiply " ) ;
DATA ( insert OID = 935 ( cash_words PGUID 12 f t t t 1 f 25 " 790 " 100 0 0 100 cash_words - ) ) ;
DESCR ( " output amount as words " ) ;
/* OIDS 900 - 999 */
/* OIDS 900 - 999 */
@ -1257,22 +1256,22 @@ DESCR("horizontal?");
DATA ( insert OID = 999 ( lseg_eq PGUID 12 f t t t 2 f 16 " 601 601 " 100 0 0 100 lseg_eq - ) ) ;
DATA ( insert OID = 999 ( lseg_eq PGUID 12 f t t t 2 f 16 " 601 601 " 100 0 0 100 lseg_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
DATA ( insert OID = 748 ( date PGUID 12 f t f t 1 f 1082 " 25 " 100 0 0 100 text_date - ) ) ;
DATA ( insert OID = 748 ( date PGUID 12 f t t t 1 f 1082 " 25 " 100 0 0 100 text_date - ) ) ;
DESCR ( " convert text to date " ) ;
DESCR ( " convert text to date " ) ;
DATA ( insert OID = 749 ( text PGUID 12 f t f t 1 f 25 " 1082 " 100 0 0 100 date_text - ) ) ;
DATA ( insert OID = 749 ( text PGUID 12 f t t t 1 f 25 " 1082 " 100 0 0 100 date_text - ) ) ;
DESCR ( " convert date to text " ) ;
DESCR ( " convert date to text " ) ;
DATA ( insert OID = 837 ( time PGUID 12 f t f t 1 f 1083 " 25 " 100 0 0 100 text_time - ) ) ;
DATA ( insert OID = 837 ( time PGUID 12 f t t t 1 f 1083 " 25 " 100 0 0 100 text_time - ) ) ;
DESCR ( " convert text to time " ) ;
DESCR ( " convert text to time " ) ;
DATA ( insert OID = 948 ( text PGUID 12 f t f t 1 f 25 " 1083 " 100 0 0 100 time_text - ) ) ;
DATA ( insert OID = 948 ( text PGUID 12 f t t t 1 f 25 " 1083 " 100 0 0 100 time_text - ) ) ;
DESCR ( " convert time to text " ) ;
DESCR ( " convert time to text " ) ;
DATA ( insert OID = 938 ( timetz PGUID 12 f t f t 1 f 1266 " 25 " 100 0 0 100 text_timetz - ) ) ;
DATA ( insert OID = 938 ( timetz PGUID 12 f t t t 1 f 1266 " 25 " 100 0 0 100 text_timetz - ) ) ;
DESCR ( " convert text to timetz " ) ;
DESCR ( " convert text to timetz " ) ;
DATA ( insert OID = 939 ( text PGUID 12 f t f t 1 f 25 " 1266 " 100 0 0 100 timetz_text - ) ) ;
DATA ( insert OID = 939 ( text PGUID 12 f t t t 1 f 25 " 1266 " 100 0 0 100 timetz_text - ) ) ;
DESCR ( " convert timetz to text " ) ;
DESCR ( " convert timetz to text " ) ;
/* OIDS 1000 - 1999 */
/* OIDS 1000 - 1999 */
DATA ( insert OID = 1026 ( timezone PGUID 12 f t f t 2 f 25 " 1186 1184 " 100 0 0 100 timestamp _izone - ) ) ;
DATA ( insert OID = 1026 ( timezone PGUID 12 f t t t 2 f 25 " 1186 1184 " 100 0 0 100 timestamptz _izone - ) ) ;
DESCR ( " time zone " ) ;
DESCR ( " time zone " ) ;
DATA ( insert OID = 1029 ( nullvalue PGUID 12 f t t f 1 f 16 " 0 " 100 0 0 100 nullvalue - ) ) ;
DATA ( insert OID = 1029 ( nullvalue PGUID 12 f t t f 1 f 16 " 0 " 100 0 0 100 nullvalue - ) ) ;
@ -1333,7 +1332,7 @@ DATA(insert OID = 1081 ( format_type PGUID 12 f t t f 2 f 25 "26 23" 100 0 0
DESCR ( " format a type oid and atttypmod to canonical SQL " ) ;
DESCR ( " format a type oid and atttypmod to canonical SQL " ) ;
DATA ( insert OID = 1084 ( date_in PGUID 12 f t f t 1 f 1082 " 0 " 100 0 0 100 date_in - ) ) ;
DATA ( insert OID = 1084 ( date_in PGUID 12 f t f t 1 f 1082 " 0 " 100 0 0 100 date_in - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1085 ( date_out PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 date_out - ) ) ;
DATA ( insert OID = 1085 ( date_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 date_out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1086 ( date_eq PGUID 12 f t t t 2 f 16 " 1082 1082 " 100 0 0 100 date_eq - ) ) ;
DATA ( insert OID = 1086 ( date_eq PGUID 12 f t t t 2 f 16 " 1082 1082 " 100 0 0 100 date_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
@ -1376,7 +1375,7 @@ DATA(insert OID = 1142 ( date_mii PGUID 12 f t t t 2 f 1082 "1082 23" 100 0
DESCR ( " subtract " ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 1143 ( time_in PGUID 12 f t f t 1 f 1083 " 0 " 100 0 0 100 time_in - ) ) ;
DATA ( insert OID = 1143 ( time_in PGUID 12 f t f t 1 f 1083 " 0 " 100 0 0 100 time_in - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1144 ( time_out PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 time_out - ) ) ;
DATA ( insert OID = 1144 ( time_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 time_out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1145 ( time_eq PGUID 12 f t t t 2 f 16 " 1083 1083 " 100 0 0 100 time_eq - ) ) ;
DATA ( insert OID = 1145 ( time_eq PGUID 12 f t t t 2 f 16 " 1083 1083 " 100 0 0 100 time_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
@ -1390,92 +1389,92 @@ DESCR("multiply");
DATA ( insert OID = 1149 ( circle_div_pt PGUID 12 f t t t 2 f 718 " 718 600 " 100 0 0 100 circle_div_pt - ) ) ;
DATA ( insert OID = 1149 ( circle_div_pt PGUID 12 f t t t 2 f 718 " 718 600 " 100 0 0 100 circle_div_pt - ) ) ;
DESCR ( " divide " ) ;
DESCR ( " divide " ) ;
DATA ( insert OID = 1150 ( timestamp_in PGUID 12 f t f t 1 f 1184 " 0 " 100 0 0 100 timestamp _in - ) ) ;
DATA ( insert OID = 1150 ( timestamptz _in PGUID 12 f t f t 1 f 1184 " 0 " 100 0 0 100 timestamptz _in - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1151 ( timestamp_out PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 timestamp _out - ) ) ;
DATA ( insert OID = 1151 ( timestamptz _out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 timestamptz _out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1152 ( timestamp_eq PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_eq - ) ) ;
DATA ( insert OID = 1152 ( timestamptz _eq PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
DATA ( insert OID = 1153 ( timestamp_ne PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_ne - ) ) ;
DATA ( insert OID = 1153 ( timestamptz _ne PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_ne - ) ) ;
DESCR ( " not equal " ) ;
DESCR ( " not equal " ) ;
DATA ( insert OID = 1154 ( timestamp_lt PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_lt - ) ) ;
DATA ( insert OID = 1154 ( timestamptz _lt PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_lt - ) ) ;
DESCR ( " less-than " ) ;
DESCR ( " less-than " ) ;
DATA ( insert OID = 1155 ( timestamp_le PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_le - ) ) ;
DATA ( insert OID = 1155 ( timestamptz _le PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_le - ) ) ;
DESCR ( " less-than-or-equal " ) ;
DESCR ( " less-than-or-equal " ) ;
DATA ( insert OID = 1156 ( timestamp_ge PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_ge - ) ) ;
DATA ( insert OID = 1156 ( timestamptz _ge PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_ge - ) ) ;
DESCR ( " greater-than-or-equal " ) ;
DESCR ( " greater-than-or-equal " ) ;
DATA ( insert OID = 1157 ( timestamp_gt PGUID 12 f t f t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_gt - ) ) ;
DATA ( insert OID = 1157 ( timestamptz _gt PGUID 12 f t t t 2 f 16 " 1184 1184 " 100 0 0 100 timestamp_gt - ) ) ;
DESCR ( " greater-than " ) ;
DESCR ( " greater-than " ) ;
DATA ( insert OID = 1159 ( timezone PGUID 12 f t f t 2 f 25 " 25 1184 " 100 0 0 100 timestamp_zone - ) ) ;
DATA ( insert OID = 1159 ( timezone PGUID 12 f t f t 2 f 25 " 25 1184 " 100 0 0 100 timestamptz _zone - ) ) ;
DESCR ( " time zone " ) ;
DESCR ( " time zone " ) ;
DATA ( insert OID = 1160 ( interval_in PGUID 12 f t f t 1 f 1186 " 0 " 100 0 0 100 interval_in - ) ) ;
DATA ( insert OID = 1160 ( interval_in PGUID 12 f t f t 1 f 1186 " 0 " 100 0 0 100 interval_in - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1161 ( interval_out PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 interval_out - ) ) ;
DATA ( insert OID = 1161 ( interval_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 interval_out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1162 ( interval_eq PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_eq - ) ) ;
DATA ( insert OID = 1162 ( interval_eq PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
DATA ( insert OID = 1163 ( interval_ne PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_ne - ) ) ;
DATA ( insert OID = 1163 ( interval_ne PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_ne - ) ) ;
DESCR ( " not equal " ) ;
DESCR ( " not equal " ) ;
DATA ( insert OID = 1164 ( interval_lt PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_lt - ) ) ;
DATA ( insert OID = 1164 ( interval_lt PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_lt - ) ) ;
DESCR ( " less-than " ) ;
DESCR ( " less-than " ) ;
DATA ( insert OID = 1165 ( interval_le PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_le - ) ) ;
DATA ( insert OID = 1165 ( interval_le PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_le - ) ) ;
DESCR ( " less-than-or-equal " ) ;
DESCR ( " less-than-or-equal " ) ;
DATA ( insert OID = 1166 ( interval_ge PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_ge - ) ) ;
DATA ( insert OID = 1166 ( interval_ge PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_ge - ) ) ;
DESCR ( " greater-than-or-equal " ) ;
DESCR ( " greater-than-or-equal " ) ;
DATA ( insert OID = 1167 ( interval_gt PGUID 12 f t f t 2 f 16 " 1186 1186 " 100 0 0 100 interval_gt - ) ) ;
DATA ( insert OID = 1167 ( interval_gt PGUID 12 f t t t 2 f 16 " 1186 1186 " 100 0 0 100 interval_gt - ) ) ;
DESCR ( " greater-than " ) ;
DESCR ( " greater-than " ) ;
DATA ( insert OID = 1168 ( interval_um PGUID 12 f t f t 1 f 1186 " 1186 " 100 0 0 100 interval_um - ) ) ;
DATA ( insert OID = 1168 ( interval_um PGUID 12 f t t t 1 f 1186 " 1186 " 100 0 0 100 interval_um - ) ) ;
DESCR ( " subtract " ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 1169 ( interval_pl PGUID 12 f t f t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_pl - ) ) ;
DATA ( insert OID = 1169 ( interval_pl PGUID 12 f t t t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_pl - ) ) ;
DESCR ( " add " ) ;
DESCR ( " add " ) ;
DATA ( insert OID = 1170 ( interval_mi PGUID 12 f t f t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_mi - ) ) ;
DATA ( insert OID = 1170 ( interval_mi PGUID 12 f t t t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_mi - ) ) ;
DESCR ( " subtract " ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 1171 ( date_part PGUID 12 f t f t 2 f 701 " 25 1184 " 100 0 0 100 timestamp _part - ) ) ;
DATA ( insert OID = 1171 ( date_part PGUID 12 f t t t 2 f 701 " 25 1184 " 100 0 0 100 timestamptz _part - ) ) ;
DESCR ( " extract field from timestamp " ) ;
DESCR ( " extract field from timestamp with time zone " ) ;
DATA ( insert OID = 1172 ( date_part PGUID 12 f t f t 2 f 701 " 25 1186 " 100 0 0 100 interval_part - ) ) ;
DATA ( insert OID = 1172 ( date_part PGUID 12 f t t t 2 f 701 " 25 1186 " 100 0 0 100 interval_part - ) ) ;
DESCR ( " extract field from interval " ) ;
DESCR ( " extract field from interval " ) ;
DATA ( insert OID = 1173 ( timestamp PGUID 12 f t f t 1 f 1184 " 702 " 100 0 0 100 abstime_timestamp - ) ) ;
DATA ( insert OID = 1173 ( timestamptz PGUID 12 f t f t 1 f 1184 " 702 " 100 0 0 100 abstime_timestamptz - ) ) ;
DESCR ( " convert abstime to timestamp " ) ;
DESCR ( " convert abstime to timestamp with time zone " ) ;
DATA ( insert OID = 1174 ( timestamp PGUID 12 f t f t 1 f 1184 " 1082 " 100 0 0 100 date_timestamp - ) ) ;
DATA ( insert OID = 1174 ( timestamptz PGUID 12 f t f t 1 f 1184 " 1082 " 100 0 0 100 date_timestamptz - ) ) ;
DESCR ( " convert date to timestamp " ) ;
DESCR ( " convert date to timestamp with time zone " ) ;
DATA ( insert OID = 1176 ( timestamp PGUID 12 f t f t 2 f 1184 " 1082 1083 " 100 0 0 100 datetime_timestamp - ) ) ;
DATA ( insert OID = 1176 ( timestamptz PGUID 14 f t f t 2 f 1184 " 1082 1083 " 100 0 0 100 " select timestamptz($1 + $2) " - ) ) ;
DESCR ( " convert date and time to timestamp " ) ;
DESCR ( " convert date and time to timestamp with time zone " ) ;
DATA ( insert OID = 1177 ( interval PGUID 12 f t f t 1 f 1186 " 703 " 100 0 0 100 reltime_interval - ) ) ;
DATA ( insert OID = 1177 ( interval PGUID 12 f t t t 1 f 1186 " 703 " 100 0 0 100 reltime_interval - ) ) ;
DESCR ( " convert reltime to interval " ) ;
DESCR ( " convert reltime to interval " ) ;
DATA ( insert OID = 1178 ( date PGUID 12 f t f t 1 f 1082 " 1184 " 100 0 0 100 timestamp_date - ) ) ;
DATA ( insert OID = 1178 ( date PGUID 12 f t f t 1 f 1082 " 1184 " 100 0 0 100 timestamptz _date - ) ) ;
DESCR ( " convert timestamp to date " ) ;
DESCR ( " convert timestamp with time zone to date " ) ;
DATA ( insert OID = 1179 ( date PGUID 12 f t f t 1 f 1082 " 702 " 100 0 0 100 abstime_date - ) ) ;
DATA ( insert OID = 1179 ( date PGUID 12 f t f t 1 f 1082 " 702 " 100 0 0 100 abstime_date - ) ) ;
DESCR ( " convert abstime to date " ) ;
DESCR ( " convert abstime to date " ) ;
DATA ( insert OID = 1180 ( abstime PGUID 12 f t f t 1 f 702 " 1184 " 100 0 0 100 timestamp_abstime - ) ) ;
DATA ( insert OID = 1180 ( abstime PGUID 12 f t f t 1 f 702 " 1184 " 100 0 0 100 timestamptz _abstime - ) ) ;
DESCR ( " convert timestamp to abstime " ) ;
DESCR ( " convert timestamp with time zone to abstime " ) ;
DATA ( insert OID = 1181 ( age PGUID 12 f t f t 1 f 23 " 28 " 100 0 0 100 xid_age - ) ) ;
DATA ( insert OID = 1181 ( age PGUID 12 f t f t 1 f 23 " 28 " 100 0 0 100 xid_age - ) ) ;
DESCR ( " age of a transaction ID, in transactions before current transaction " ) ;
DESCR ( " age of a transaction ID, in transactions before current transaction " ) ;
DATA ( insert OID = 1188 ( timestamp_mi PGUID 12 f t f t 2 f 1186 " 1184 1184 " 100 0 0 100 timestamp_mi - ) ) ;
DATA ( insert OID = 1188 ( timestamptz_mi PGUID 12 f t t t 2 f 1186 " 1184 1184 " 100 0 0 100 timestamp_mi - ) ) ;
DESCR ( " subtract " ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 1189 ( timestamp_pl_span PGUID 12 f t f t 2 f 1184 " 1184 1186 " 100 0 0 100 timestamp_pl_span - ) ) ;
DATA ( insert OID = 1189 ( timestamptz _pl_span PGUID 12 f t t t 2 f 1184 " 1184 1186 " 100 0 0 100 timestamp_pl_span - ) ) ;
DESCR ( " plus " ) ;
DESCR ( " plus " ) ;
DATA ( insert OID = 1190 ( timestamp_mi_span PGUID 12 f t f t 2 f 1184 " 1184 1186 " 100 0 0 100 timestamp_mi_span - ) ) ;
DATA ( insert OID = 1190 ( timestamptz _mi_span PGUID 12 f t t t 2 f 1184 " 1184 1186 " 100 0 0 100 timestamp_mi_span - ) ) ;
DESCR ( " minus " ) ;
DESCR ( " minus " ) ;
DATA ( insert OID = 1191 ( timestamp PGUID 12 f t f t 1 f 1184 " 25 " 100 0 0 100 text_timestamp - ) ) ;
DATA ( insert OID = 1191 ( timestamptz PGUID 12 f t t t 1 f 1184 " 25 " 100 0 0 100 text_timestamptz - ) ) ;
DESCR ( " convert text to timestamp " ) ;
DESCR ( " convert text to timestamp with time zone " ) ;
DATA ( insert OID = 1192 ( text PGUID 12 f t f t 1 f 25 " 1184 " 100 0 0 100 timestamp _text - ) ) ;
DATA ( insert OID = 1192 ( text PGUID 12 f t t t 1 f 25 " 1184 " 100 0 0 100 timestamptz _text - ) ) ;
DESCR ( " convert timestamp to text " ) ;
DESCR ( " convert timestamp to text " ) ;
DATA ( insert OID = 1193 ( text PGUID 12 f t f t 1 f 25 " 1186 " 100 0 0 100 interval_text - ) ) ;
DATA ( insert OID = 1193 ( text PGUID 12 f t t t 1 f 25 " 1186 " 100 0 0 100 interval_text - ) ) ;
DESCR ( " convert interval to text " ) ;
DESCR ( " convert interval to text " ) ;
DATA ( insert OID = 1194 ( reltime PGUID 12 f t f t 1 f 703 " 1186 " 100 0 0 100 interval_reltime - ) ) ;
DATA ( insert OID = 1194 ( reltime PGUID 12 f t t t 1 f 703 " 1186 " 100 0 0 100 interval_reltime - ) ) ;
DESCR ( " convert interval to reltime " ) ;
DESCR ( " convert interval to reltime " ) ;
DATA ( insert OID = 1195 ( timestamp_smaller PGUID 12 f t f t 2 f 1184 " 1184 1184 " 100 0 0 100 timestamp_smaller - ) ) ;
DATA ( insert OID = 1195 ( timestamptz _smaller PGUID 12 f t t t 2 f 1184 " 1184 1184 " 100 0 0 100 timestamp_smaller - ) ) ;
DESCR ( " smaller of two " ) ;
DESCR ( " smaller of two " ) ;
DATA ( insert OID = 1196 ( timestamp_larger PGUID 12 f t f t 2 f 1184 " 1184 1184 " 100 0 0 100 timestamp_larger - ) ) ;
DATA ( insert OID = 1196 ( timestamptz_larger PGUID 12 f t t t 2 f 1184 " 1184 1184 " 100 0 0 100 timestamp_larger - ) ) ;
DESCR ( " larger of two " ) ;
DESCR ( " larger of two " ) ;
DATA ( insert OID = 1197 ( interval_smaller PGUID 12 f t f t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_smaller - ) ) ;
DATA ( insert OID = 1197 ( interval_smaller PGUID 12 f t t t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_smaller - ) ) ;
DESCR ( " smaller of two " ) ;
DESCR ( " smaller of two " ) ;
DATA ( insert OID = 1198 ( interval_larger PGUID 12 f t f t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_larger - ) ) ;
DATA ( insert OID = 1198 ( interval_larger PGUID 12 f t t t 2 f 1186 " 1186 1186 " 100 0 0 100 interval_larger - ) ) ;
DESCR ( " larger of two " ) ;
DESCR ( " larger of two " ) ;
DATA ( insert OID = 1199 ( age PGUID 12 f t f t 2 f 1186 " 1184 1184 " 100 0 0 100 timestamp_age - ) ) ;
DATA ( insert OID = 1199 ( age PGUID 12 f t t t 2 f 1186 " 1184 1184 " 100 0 0 100 timestamptz _age - ) ) ;
DESCR ( " date difference preserving months and years " ) ;
DESCR ( " date difference preserving months and years " ) ;
/* OIDS 1200 - 1299 */
/* OIDS 1200 - 1299 */
@ -1488,9 +1487,9 @@ DESCR("get description for object id and catalog name");
DATA ( insert OID = 1216 ( col_description PGUID 14 f t f t 2 f 25 " 26 23 " 100 0 0 100 " select description from pg_description where objoid = $1 and classoid = (select oid from pg_class where relname = \' pg_class \' ) and objsubid = $2 " - ) ) ;
DATA ( insert OID = 1216 ( col_description PGUID 14 f t f t 2 f 25 " 26 23 " 100 0 0 100 " select description from pg_description where objoid = $1 and classoid = (select oid from pg_class where relname = \' pg_class \' ) and objsubid = $2 " - ) ) ;
DESCR ( " get description for table column " ) ;
DESCR ( " get description for table column " ) ;
DATA ( insert OID = 1217 ( date_trunc PGUID 12 f t f t 2 f 1184 " 25 1184 " 100 0 0 100 timestamp _trunc - ) ) ;
DATA ( insert OID = 1217 ( date_trunc PGUID 12 f t t t 2 f 1184 " 25 1184 " 100 0 0 100 timestamptz _trunc - ) ) ;
DESCR ( " truncate timestamp to specified units " ) ;
DESCR ( " truncate timestamp with time zone to specified units " ) ;
DATA ( insert OID = 1218 ( date_trunc PGUID 12 f t f t 2 f 1186 " 25 1186 " 100 0 0 100 interval_trunc - ) ) ;
DATA ( insert OID = 1218 ( date_trunc PGUID 12 f t t t 2 f 1186 " 25 1186 " 100 0 0 100 interval_trunc - ) ) ;
DESCR ( " truncate interval to specified units " ) ;
DESCR ( " truncate interval to specified units " ) ;
DATA ( insert OID = 1219 ( int8inc PGUID 12 f t t t 1 f 20 " 20 " 100 0 0 100 int8inc - ) ) ;
DATA ( insert OID = 1219 ( int8inc PGUID 12 f t t t 1 f 20 " 20 " 100 0 0 100 int8inc - ) ) ;
@ -1517,12 +1516,12 @@ DESCR("absolute value");
DATA ( insert OID = 1253 ( int2abs PGUID 12 f t t t 1 f 21 " 21 " 100 0 0 100 int2abs - ) ) ;
DATA ( insert OID = 1253 ( int2abs PGUID 12 f t t t 1 f 21 " 21 " 100 0 0 100 int2abs - ) ) ;
DESCR ( " absolute value " ) ;
DESCR ( " absolute value " ) ;
DATA ( insert OID = 1263 ( interval PGUID 12 f t f t 1 f 1186 " 25 " 100 0 0 100 text_interval - ) ) ;
DATA ( insert OID = 1263 ( interval PGUID 12 f t t t 1 f 1186 " 25 " 100 0 0 100 text_interval - ) ) ;
DESCR ( " convert text to interval " ) ;
DESCR ( " convert text to interval " ) ;
DATA ( insert OID = 1271 ( overlaps PGUID 12 f t t f 4 f 16 " 1266 1266 1266 1266 " 100 0 0 100 overlaps_timetz - ) ) ;
DATA ( insert OID = 1271 ( overlaps PGUID 12 f t t f 4 f 16 " 1266 1266 1266 1266 " 100 0 0 100 overlaps_timetz - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 1272 ( datetime_pl PGUID 12 f t f t 2 f 118 4 " 1082 1083 " 100 0 0 100 datetime_timestamp - ) ) ;
DATA ( insert OID = 1272 ( datetime_pl PGUID 12 f t t t 2 f 111 4 " 1082 1083 " 100 0 0 100 datetime_timestamp - ) ) ;
DESCR ( " convert date and time to timestamp " ) ;
DESCR ( " convert date and time to timestamp " ) ;
DATA ( insert OID = 1274 ( int84pl PGUID 12 f t t t 2 f 20 " 20 23 " 100 0 0 100 int84pl - ) ) ;
DATA ( insert OID = 1274 ( int84pl PGUID 12 f t t t 2 f 20 " 20 23 " 100 0 0 100 int84pl - ) ) ;
@ -1559,11 +1558,11 @@ DESCR("latest tid of a tuple");
DATA ( insert OID = 1294 ( currtid2 PGUID 12 f t f t 2 f 27 " 25 27 " 100 0 0 100 currtid_byrelname - ) ) ;
DATA ( insert OID = 1294 ( currtid2 PGUID 12 f t f t 2 f 27 " 25 27 " 100 0 0 100 currtid_byrelname - ) ) ;
DESCR ( " latest tid of a tuple " ) ;
DESCR ( " latest tid of a tuple " ) ;
DATA ( insert OID = 1296 ( timedate_pl PGUID 14 f t f t 2 f 118 4 " 1083 1082 " 100 0 0 100 " select datetime_pl($2, $1) " - ) ) ;
DATA ( insert OID = 1296 ( timedate_pl PGUID 14 f t t t 2 f 111 4 " 1083 1082 " 100 0 0 100 " select datetime_pl($2, $1) " - ) ) ;
DESCR ( " convert time and date to timestamp " ) ;
DESCR ( " convert time and date to timestamp " ) ;
DATA ( insert OID = 1297 ( datetimetz_pl PGUID 12 f t f t 2 f 1184 " 1082 1266 " 100 0 0 100 datetimetz_timestamp - ) ) ;
DATA ( insert OID = 1297 ( datetimetz_pl PGUID 12 f t t t 2 f 1184 " 1082 1266 " 100 0 0 100 datetimetz_timestamptz - ) ) ;
DESCR ( " convert date and time with time zone to timestamp " ) ;
DESCR ( " convert date and time with time zone to timestamp with time zone " ) ;
DATA ( insert OID = 1298 ( timetzdate_pl PGUID 14 f t f t 2 f 1184 " 1266 1082 " 100 0 0 100 " select datetimetz_pl($2, $1) " - ) ) ;
DATA ( insert OID = 1298 ( timetzdate_pl PGUID 14 f t t t 2 f 1184 " 1266 1082 " 100 0 0 100 " select datetimetz_pl($2, $1) " - ) ) ;
DESCR ( " convert time with time zone and date to timestamp " ) ;
DESCR ( " convert time with time zone and date to timestamp " ) ;
DATA ( insert OID = 1299 ( now PGUID 12 f t f t 0 f 1184 " 0 " 100 0 0 100 now - ) ) ;
DATA ( insert OID = 1299 ( now PGUID 12 f t f t 0 f 1184 " 0 " 100 0 0 100 now - ) ) ;
DESCR ( " current transaction time " ) ;
DESCR ( " current transaction time " ) ;
@ -1597,11 +1596,15 @@ DESCR("SQL92 interval comparison");
DATA ( insert OID = 1311 ( overlaps PGUID 14 f t t f 4 f 16 " 1083 1186 1083 1083 " 100 0 0 100 " select ($1, ($1 + $2)) overlaps ($3, $4) " - ) ) ;
DATA ( insert OID = 1311 ( overlaps PGUID 14 f t t f 4 f 16 " 1083 1186 1083 1083 " 100 0 0 100 " select ($1, ($1 + $2)) overlaps ($3, $4) " - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 1314 ( timestamp_cmp PGUID 12 f t f t 2 f 23 " 1184 1184 " 100 0 0 100 timestamp_cmp - ) ) ;
DATA ( insert OID = 1312 ( timestamp_in PGUID 12 f t f t 1 f 1114 " 0 " 100 0 0 100 timestamp_in - ) ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1313 ( timestamp_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 timestamp_out - ) ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1314 ( timestamptz_cmp PGUID 12 f t t t 2 f 23 " 1184 1184 " 100 0 0 100 timestamp_cmp - ) ) ;
DESCR ( " less-equal-greater " ) ;
DESCR ( " less-equal-greater " ) ;
DATA ( insert OID = 1315 ( interval_cmp PGUID 12 f t f t 2 f 23 " 1186 1186 " 100 0 0 100 interval_cmp - ) ) ;
DATA ( insert OID = 1315 ( interval_cmp PGUID 12 f t t t 2 f 23 " 1186 1186 " 100 0 0 100 interval_cmp - ) ) ;
DESCR ( " less-equal-greater " ) ;
DESCR ( " less-equal-greater " ) ;
DATA ( insert OID = 1316 ( time PGUID 12 f t f t 1 f 1083 " 1184 " 100 0 0 100 timestamp_time - ) ) ;
DATA ( insert OID = 1316 ( time PGUID 12 f t t t 1 f 1083 " 111 4 " 100 0 0 100 timestamp_time - ) ) ;
DESCR ( " convert timestamp to time " ) ;
DESCR ( " convert timestamp to time " ) ;
DATA ( insert OID = 1317 ( length PGUID 12 f t t t 1 f 23 " 25 " 100 0 0 100 textlen - ) ) ;
DATA ( insert OID = 1317 ( length PGUID 12 f t t t 1 f 23 " 25 " 100 0 0 100 textlen - ) ) ;
@ -1611,7 +1614,7 @@ DESCR("character length");
DATA ( insert OID = 1319 ( length PGUID 12 f t t t 1 f 23 " 1043 " 100 0 0 100 varcharlen - ) ) ;
DATA ( insert OID = 1319 ( length PGUID 12 f t t t 1 f 23 " 1043 " 100 0 0 100 varcharlen - ) ) ;
DESCR ( " character length " ) ;
DESCR ( " character length " ) ;
DATA ( insert OID = 1326 ( interval_div PGUID 12 f t f t 2 f 1186 " 1186 701 " 100 0 0 100 interval_div - ) ) ;
DATA ( insert OID = 1326 ( interval_div PGUID 12 f t t t 2 f 1186 " 1186 701 " 100 0 0 100 interval_div - ) ) ;
DESCR ( " divide " ) ;
DESCR ( " divide " ) ;
DATA ( insert OID = 1339 ( dlog10 PGUID 12 f t t t 1 f 701 " 701 " 100 0 0 100 dlog10 - ) ) ;
DATA ( insert OID = 1339 ( dlog10 PGUID 12 f t t t 1 f 701 " 701 " 100 0 0 100 dlog10 - ) ) ;
@ -1645,7 +1648,7 @@ DESCR("print type names of oidvector field");
DATA ( insert OID = 1350 ( timetz_in PGUID 12 f t f t 1 f 1266 " 0 " 100 0 0 100 timetz_in - ) ) ;
DATA ( insert OID = 1350 ( timetz_in PGUID 12 f t f t 1 f 1266 " 0 " 100 0 0 100 timetz_in - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1351 ( timetz_out PGUID 12 f t f t 1 f 23 " 0 " 100 0 0 100 timetz_out - ) ) ;
DATA ( insert OID = 1351 ( timetz_out PGUID 12 f t t t 1 f 23 " 0 " 100 0 0 100 timetz_out - ) ) ;
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
DATA ( insert OID = 1352 ( timetz_eq PGUID 12 f t t t 2 f 16 " 1266 1266 " 100 0 0 100 timetz_eq - ) ) ;
DATA ( insert OID = 1352 ( timetz_eq PGUID 12 f t t t 2 f 16 " 1266 1266 " 100 0 0 100 timetz_eq - ) ) ;
DESCR ( " equal " ) ;
DESCR ( " equal " ) ;
@ -1661,22 +1664,22 @@ DATA(insert OID = 1357 ( timetz_gt PGUID 12 f t t t 2 f 16 "1266 1266" 100
DESCR ( " greater-than " ) ;
DESCR ( " greater-than " ) ;
DATA ( insert OID = 1358 ( timetz_cmp PGUID 12 f t t t 2 f 23 " 1266 1266 " 100 0 0 100 timetz_cmp - ) ) ;
DATA ( insert OID = 1358 ( timetz_cmp PGUID 12 f t t t 2 f 23 " 1266 1266 " 100 0 0 100 timetz_cmp - ) ) ;
DESCR ( " less-equal-greater " ) ;
DESCR ( " less-equal-greater " ) ;
DATA ( insert OID = 1359 ( timestamp PGUID 12 f t f t 2 f 1184 " 1082 1266 " 100 0 0 100 datetimetz_timestamp - ) ) ;
DATA ( insert OID = 1359 ( timestamptz PGUID 12 f t t t 2 f 1184 " 1082 1266 " 100 0 0 100 datetimetz_timestamptz - ) ) ;
DESCR ( " convert date and time with time zone to timestamp " ) ;
DESCR ( " convert date and time with time zone to timestamp with time zone " ) ;
DATA ( insert OID = 1362 ( time PGUID 14 f t t t 1 f 1083 " 1083 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1362 ( time PGUID 14 f t t t 1 f 1083 " 1083 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 1364 ( time PGUID 14 f t f t 1 f 1083 " 702 " 100 0 0 100 " select time(timestamp($1)) " - ) ) ;
DATA ( insert OID = 1364 ( time PGUID 14 f t t t 1 f 1083 " 702 " 100 0 0 100 " select time(timestamp($1)) " - ) ) ;
DESCR ( " convert abstime to time " ) ;
DESCR ( " convert abstime to time " ) ;
DATA ( insert OID = 1365 ( abstime PGUID 14 f t f t 1 f 702 " 702 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1365 ( abstime PGUID 14 f t f t 1 f 702 " 702 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 1367 ( reltime PGUID 14 f t t t 1 f 703 " 703 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1367 ( reltime PGUID 14 f t t t 1 f 703 " 703 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 1368 ( timestamp PGUID 14 f t f t 1 f 1184 " 1184 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1368 ( timestamptz PGUID 14 f t t t 1 f 1184 " 1184 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 1369 ( interval PGUID 14 f t t t 1 f 1186 " 1186 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1369 ( interval PGUID 14 f t t t 1 f 1186 " 1186 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 1370 ( interval PGUID 12 f t f t 1 f 1186 " 1083 " 100 0 0 100 time_interval - ) ) ;
DATA ( insert OID = 1370 ( interval PGUID 12 f t t t 1 f 1186 " 1083 " 100 0 0 100 time_interval - ) ) ;
DESCR ( " convert time to interval " ) ;
DESCR ( " convert time to interval " ) ;
DATA ( insert OID = 1371 ( date PGUID 14 f t t t 1 f 1082 " 1082 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1371 ( date PGUID 14 f t t t 1 f 1082 " 1082 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DESCR ( " convert (noop) " ) ;
@ -1704,25 +1707,25 @@ DESCR("smaller of two");
DATA ( insert OID = 1381 ( char_length PGUID 12 f t t t 1 f 23 " 25 " 100 0 0 100 textlen - ) ) ;
DATA ( insert OID = 1381 ( char_length PGUID 12 f t t t 1 f 23 " 25 " 100 0 0 100 textlen - ) ) ;
DESCR ( " length " ) ;
DESCR ( " length " ) ;
DATA ( insert OID = 1382 ( date_part PGUID 14 f t f t 2 f 701 " 25 702 " 100 0 0 100 " select date_part($1, timestamp($2)) " - ) ) ;
DATA ( insert OID = 1382 ( date_part PGUID 14 f t f t 2 f 701 " 25 702 " 100 0 0 100 " select date_part($1, timestamptz ($2)) " - ) ) ;
DESCR ( " extract field from abstime " ) ;
DESCR ( " extract field from abstime " ) ;
DATA ( insert OID = 1383 ( date_part PGUID 14 f t f t 2 f 701 " 25 703 " 100 0 0 100 " select date_part($1, interval($2)) " - ) ) ;
DATA ( insert OID = 1383 ( date_part PGUID 14 f t f t 2 f 701 " 25 703 " 100 0 0 100 " select date_part($1, interval($2)) " - ) ) ;
DESCR ( " extract field from reltime " ) ;
DESCR ( " extract field from reltime " ) ;
DATA ( insert OID = 1384 ( date_part PGUID 14 f t f t 2 f 701 " 25 1082 " 100 0 0 100 " select date_part($1, timestamp($2)) " - ) ) ;
DATA ( insert OID = 1384 ( date_part PGUID 14 f t t t 2 f 701 " 25 1082 " 100 0 0 100 " select date_part($1, timestamptz ($2)) " - ) ) ;
DESCR ( " extract field from date " ) ;
DESCR ( " extract field from date " ) ;
DATA ( insert OID = 1385 ( date_part PGUID 14 f t f t 2 f 701 " 25 1083 " 100 0 0 100 " select date_part($1, interval($2)) " - ) ) ;
DATA ( insert OID = 1385 ( date_part PGUID 14 f t t t 2 f 701 " 25 1083 " 100 0 0 100 " select date_part($1, interval($2)) " - ) ) ;
DESCR ( " extract field from time " ) ;
DESCR ( " extract field from time " ) ;
DATA ( insert OID = 1386 ( age PGUID 14 f t f t 1 f 1186 " 1184 " 100 0 0 100 " select age( \' today \' , $1) " - ) ) ;
DATA ( insert OID = 1386 ( age PGUID 14 f t t t 1 f 1186 " 1184 " 100 0 0 100 " select age( \' today \' , $1) " - ) ) ;
DESCR ( " date difference from today preserving months and years " ) ;
DESCR ( " date difference from today preserving months and years " ) ;
DATA ( insert OID = 1387 ( timetz PGUID 14 f t f t 1 f 1266 " 1266 " 100 0 0 100 " select $1 " - ) ) ;
DATA ( insert OID = 1387 ( timetz PGUID 14 f t t t 1 f 1266 " 1266 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " noop conversion " ) ;
DESCR ( " noop conversion " ) ;
DATA ( insert OID = 1388 ( timetz PGUID 12 f t f t 1 f 1266 " 1184 " 100 0 0 100 timestamp_timetz - ) ) ;
DATA ( insert OID = 1388 ( timetz PGUID 12 f t t t 1 f 1266 " 1184 " 100 0 0 100 timestamptz _timetz - ) ) ;
DESCR ( " convert timestamp to timetz " ) ;
DESCR ( " convert timestamp to timetz " ) ;
DATA ( insert OID = 1389 ( isfinite PGUID 12 f t f t 1 f 16 " 1184 " 100 0 0 100 timestamp_finite - ) ) ;
DATA ( insert OID = 1389 ( isfinite PGUID 12 f t t t 1 f 16 " 1184 " 100 0 0 100 timestamp_finite - ) ) ;
DESCR ( " boolean test " ) ;
DESCR ( " boolean test " ) ;
DATA ( insert OID = 1390 ( isfinite PGUID 12 f t f t 1 f 16 " 1186 " 100 0 0 100 interval_finite - ) ) ;
DATA ( insert OID = 1390 ( isfinite PGUID 12 f t t t 1 f 16 " 1186 " 100 0 0 100 interval_finite - ) ) ;
DESCR ( " boolean test " ) ;
DESCR ( " boolean test " ) ;
@ -1787,7 +1790,7 @@ DESCR("bool is not true (ie, false or unknown)");
DATA ( insert OID = 1418 ( isnotfalse PGUID 12 f t t f 1 f 16 " 16 " 100 0 0 100 isnotfalse - ) ) ;
DATA ( insert OID = 1418 ( isnotfalse PGUID 12 f t t f 1 f 16 " 16 " 100 0 0 100 isnotfalse - ) ) ;
DESCR ( " bool is not false (ie, true or unknown) " ) ;
DESCR ( " bool is not false (ie, true or unknown) " ) ;
DATA ( insert OID = 1419 ( time PGUID 12 f t f t 1 f 1083 " 1186 " 100 0 0 100 interval_time - ) ) ;
DATA ( insert OID = 1419 ( time PGUID 12 f t t t 1 f 1083 " 1186 " 100 0 0 100 interval_time - ) ) ;
DESCR ( " convert interval to time " ) ;
DESCR ( " convert interval to time " ) ;
DATA ( insert OID = 1421 ( box PGUID 12 f t t t 2 f 603 " 600 600 " 100 0 0 100 points_box - ) ) ;
DATA ( insert OID = 1421 ( box PGUID 12 f t t t 2 f 603 " 600 600 " 100 0 0 100 points_box - ) ) ;
@ -2338,6 +2341,9 @@ DESCR("text to cidr");
DATA ( insert OID = 1715 ( set_masklen PGUID 12 f t t t 2 f 869 " 869 23 " 100 0 0 100 inet_set_masklen - ) ) ;
DATA ( insert OID = 1715 ( set_masklen PGUID 12 f t t t 2 f 869 " 869 23 " 100 0 0 100 inet_set_masklen - ) ) ;
DESCR ( " change the netmask of an inet " ) ;
DESCR ( " change the netmask of an inet " ) ;
DATA ( insert OID = 1690 ( time_mi_time PGUID 12 f t t t 2 f 1186 " 1083 1083 " 100 0 0 100 time_mi_time - ) ) ;
DESCR ( " minus " ) ;
DATA ( insert OID = 1691 ( boolle PGUID 12 f t t t 2 f 16 " 16 16 " 100 0 0 100 boolle - ) ) ;
DATA ( insert OID = 1691 ( boolle PGUID 12 f t t t 2 f 16 " 16 16 " 100 0 0 100 boolle - ) ) ;
DESCR ( " less-than-or-equal " ) ;
DESCR ( " less-than-or-equal " ) ;
DATA ( insert OID = 1692 ( boolge PGUID 12 f t t t 2 f 16 " 16 16 " 100 0 0 100 boolge - ) ) ;
DATA ( insert OID = 1692 ( boolge PGUID 12 f t t t 2 f 16 " 16 16 " 100 0 0 100 boolge - ) ) ;
@ -2464,7 +2470,7 @@ DATA(insert OID = 1783 ( int2 PGUID 12 f t t t 1 f 21 "1700" 100 0 0 100 num
DESCR ( " (internal) " ) ;
DESCR ( " (internal) " ) ;
/* formatting */
/* formatting */
DATA ( insert OID = 1770 ( to_char PGUID 12 f t f t 2 f 25 " 1184 25 " 100 0 0 100 timestamp_to_char - ) ) ;
DATA ( insert OID = 1770 ( to_char PGUID 12 f t f t 2 f 25 " 1184 25 " 100 0 0 100 timestamptz _to_char - ) ) ;
DESCR ( " format timestamp to text " ) ;
DESCR ( " format timestamp to text " ) ;
DATA ( insert OID = 1772 ( to_char PGUID 12 f t f t 2 f 25 " 1700 25 " 100 0 0 100 numeric_to_char - ) ) ;
DATA ( insert OID = 1772 ( to_char PGUID 12 f t f t 2 f 25 " 1700 25 " 100 0 0 100 numeric_to_char - ) ) ;
DESCR ( " format numeric to text " ) ;
DESCR ( " format numeric to text " ) ;
@ -2763,6 +2769,87 @@ DESCR("return position of substring");
DATA ( insert OID = 2015 ( btrim PGUID 12 f t t t 2 f 17 " 17 17 " 100 0 0 100 byteatrim - ) ) ;
DATA ( insert OID = 2015 ( btrim PGUID 12 f t t t 2 f 17 " 17 17 " 100 0 0 100 byteatrim - ) ) ;
DESCR ( " trim both ends of string " ) ;
DESCR ( " trim both ends of string " ) ;
DATA ( insert OID = 2020 ( date_trunc PGUID 12 f t t t 2 f 1114 " 25 1114 " 100 0 0 100 timestamp_trunc - ) ) ;
DESCR ( " truncate timestamp to specified units " ) ;
DATA ( insert OID = 2021 ( date_part PGUID 12 f t t t 2 f 701 " 25 1114 " 100 0 0 100 timestamp_part - ) ) ;
DESCR ( " extract field from timestamp " ) ;
DATA ( insert OID = 2022 ( timestamp PGUID 12 f t f t 1 f 1114 " 25 " 100 0 0 100 text_timestamp - ) ) ;
DESCR ( " convert text to timestamp " ) ;
DATA ( insert OID = 2023 ( timestamp PGUID 12 f t f t 1 f 1114 " 702 " 100 0 0 100 abstime_timestamp - ) ) ;
DESCR ( " convert abstime to timestamp " ) ;
DATA ( insert OID = 2024 ( timestamp PGUID 12 f t t t 1 f 1114 " 1082 " 100 0 0 100 date_timestamp - ) ) ;
DESCR ( " convert date to timestamp " ) ;
DATA ( insert OID = 2025 ( timestamp PGUID 12 f t t t 2 f 1114 " 1082 1083 " 100 0 0 100 datetime_timestamp - ) ) ;
DESCR ( " convert date and time to timestamp " ) ;
DATA ( insert OID = 2026 ( timestamp PGUID 14 f t t t 1 f 1114 " 1114 " 100 0 0 100 " select $1 " - ) ) ;
DESCR ( " convert (noop) " ) ;
DATA ( insert OID = 2027 ( timestamp PGUID 12 f t f t 1 f 1114 " 1184 " 100 0 0 100 timestamptz_timestamp - ) ) ;
DESCR ( " convert date and time with time zone to timestamp " ) ;
DATA ( insert OID = 2028 ( timestamptz PGUID 12 f t f t 1 f 1184 " 1114 " 100 0 0 100 timestamp_timestamptz - ) ) ;
DESCR ( " convert date and time with time zone to timestamp " ) ;
DATA ( insert OID = 2029 ( date PGUID 12 f t t t 1 f 1082 " 1114 " 100 0 0 100 timestamp_date - ) ) ;
DESCR ( " convert timestamp to date " ) ;
DATA ( insert OID = 2030 ( abstime PGUID 12 f t f t 1 f 702 " 1114 " 100 0 0 100 timestamp_abstime - ) ) ;
DESCR ( " convert timestamp to abstime " ) ;
DATA ( insert OID = 2031 ( timestamp_mi PGUID 12 f t t t 2 f 1186 " 1114 1114 " 100 0 0 100 timestamp_mi - ) ) ;
DESCR ( " subtract " ) ;
DATA ( insert OID = 2032 ( timestamp_pl_span PGUID 12 f t t t 2 f 1114 " 1114 1186 " 100 0 0 100 timestamp_pl_span - ) ) ;
DESCR ( " plus " ) ;
DATA ( insert OID = 2033 ( timestamp_mi_span PGUID 12 f t t t 2 f 1114 " 1114 1186 " 100 0 0 100 timestamp_mi_span - ) ) ;
DESCR ( " minus " ) ;
DATA ( insert OID = 2034 ( text PGUID 12 f t t t 1 f 25 " 1114 " 100 0 0 100 timestamp_text - ) ) ;
DESCR ( " convert timestamp to text " ) ;
DATA ( insert OID = 2035 ( timestamp_smaller PGUID 12 f t t t 2 f 1114 " 1114 1114 " 100 0 0 100 timestamp_smaller - ) ) ;
DESCR ( " smaller of two " ) ;
DATA ( insert OID = 2036 ( timestamp_larger PGUID 12 f t t t 2 f 1114 " 1114 1114 " 100 0 0 100 timestamp_larger - ) ) ;
DESCR ( " larger of two " ) ;
DATA ( insert OID = 2037 ( timetz PGUID 12 f t f t 2 f 1266 " 25 1266 " 100 0 0 100 timetz_zone - ) ) ;
DESCR ( " time with time zone " ) ;
DATA ( insert OID = 2038 ( timetz PGUID 12 f t t t 2 f 1266 " 1186 1266 " 100 0 0 100 timetz_izone - ) ) ;
DESCR ( " time with time zone " ) ;
DATA ( insert OID = 2041 ( overlaps PGUID 12 f t t f 4 f 16 " 1114 1114 1114 1114 " 100 0 0 100 overlaps_timestamp - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 2042 ( overlaps PGUID 14 f t t f 4 f 16 " 1114 1186 1114 1186 " 100 0 0 100 " select ($1, ($1 + $2)) overlaps ($3, ($3 + $4)) " - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 2043 ( overlaps PGUID 14 f t t f 4 f 16 " 1114 1114 1114 1186 " 100 0 0 100 " select ($1, $2) overlaps ($3, ($3 + $4)) " - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 2044 ( overlaps PGUID 14 f t t f 4 f 16 " 1114 1186 1114 1114 " 100 0 0 100 " select ($1, ($1 + $2)) overlaps ($3, $4) " - ) ) ;
DESCR ( " SQL92 interval comparison " ) ;
DATA ( insert OID = 2045 ( timestamp_cmp PGUID 12 f t t t 2 f 23 " 1114 1114 " 100 0 0 100 timestamp_cmp - ) ) ;
DESCR ( " less-equal-greater " ) ;
DATA ( insert OID = 2046 ( time PGUID 12 f t t t 1 f 1083 " 1266 " 100 0 0 100 timetz_time - ) ) ;
DESCR ( " convert time with time zone to time " ) ;
DATA ( insert OID = 2047 ( timetz PGUID 12 f t f t 1 f 1266 " 1083 " 100 0 0 100 time_timetz - ) ) ;
DESCR ( " convert time to timetz " ) ;
DATA ( insert OID = 2048 ( isfinite PGUID 12 f t t t 1 f 16 " 1114 " 100 0 0 100 timestamp_finite - ) ) ;
DESCR ( " boolean test " ) ;
DATA ( insert OID = 2050 ( interval_mi_time PGUID 14 f t t t 2 f 1083 " 1186 1083 " 100 0 0 100 " select $2 - $1 + (interval \' 24 hours \' ) " - ) ) ;
DESCR ( " minus " ) ;
DATA ( insert OID = 2051 ( interval_mi_timetz PGUID 14 f t t t 2 f 1266 " 1186 1266 " 100 0 0 100 " select $2 - $1 + (interval \' 24 hours \' ) " - ) ) ;
DESCR ( " minus " ) ;
DATA ( insert OID = 2052 ( timestamp_eq PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_eq - ) ) ;
DESCR ( " equal " ) ;
DATA ( insert OID = 2053 ( timestamp_ne PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_ne - ) ) ;
DESCR ( " not equal " ) ;
DATA ( insert OID = 2054 ( timestamp_lt PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_lt - ) ) ;
DESCR ( " less-than " ) ;
DATA ( insert OID = 2055 ( timestamp_le PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_le - ) ) ;
DESCR ( " less-than-or-equal " ) ;
DATA ( insert OID = 2056 ( timestamp_ge PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_ge - ) ) ;
DESCR ( " greater-than-or-equal " ) ;
DATA ( insert OID = 2057 ( timestamp_gt PGUID 12 f t t t 2 f 16 " 1114 1114 " 100 0 0 100 timestamp_gt - ) ) ;
DESCR ( " greater-than " ) ;
DATA ( insert OID = 2058 ( age PGUID 12 f t t t 2 f 1186 " 1114 1114 " 100 0 0 100 timestamp_age - ) ) ;
DESCR ( " date difference preserving months and years " ) ;
DATA ( insert OID = 2059 ( age PGUID 14 f t t t 1 f 1186 " 1114 " 100 0 0 100 " select age( \' today \' , $1) " - ) ) ;
DESCR ( " date difference from today preserving months and years " ) ;
DATA ( insert OID = 2069 ( timezone PGUID 12 f t t t 2 f 1184 " 25 1114 " 100 0 0 100 timestamp_zone - ) ) ;
DESCR ( " time zone " ) ;
DATA ( insert OID = 2070 ( timezone PGUID 12 f t t t 2 f 1184 " 1186 1114 " 100 0 0 100 timestamp_izone - ) ) ;
DESCR ( " time zone " ) ;
/*
/*
* prototypes for functions pg_proc . c
* prototypes for functions pg_proc . c
*/
*/