diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index bf66917aa7..3deef21855 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -37,7 +37,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: catversion.h,v 1.57 2000/11/10 20:13:26 tgl Exp $ + * $Id: catversion.h,v 1.58 2000/11/11 19:55:33 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 200011101 +#define CATALOG_VERSION_NO 200011110 #endif diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index 11f20071c7..a45b6dcb90 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_proc.h,v 1.173 2000/11/10 20:13:26 tgl Exp $ + * $Id: pg_proc.h,v 1.174 2000/11/11 19:55:33 thomas Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -1256,6 +1256,19 @@ 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 - )); DESCR("equal"); +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"); +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"); +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 date"); +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"); +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 date"); +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"); + /* 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 - )); diff --git a/src/include/utils/date.h b/src/include/utils/date.h index c33d27031c..19c7efff42 100644 --- a/src/include/utils/date.h +++ b/src/include/utils/date.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: date.h,v 1.5 2000/06/19 03:54:48 tgl Exp $ + * $Id: date.h,v 1.6 2000/11/11 19:55:39 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -70,6 +70,8 @@ extern Datum date_timestamp(PG_FUNCTION_ARGS); extern Datum timestamp_date(PG_FUNCTION_ARGS); extern Datum datetime_timestamp(PG_FUNCTION_ARGS); extern Datum abstime_date(PG_FUNCTION_ARGS); +extern Datum text_date(PG_FUNCTION_ARGS); +extern Datum date_text(PG_FUNCTION_ARGS); extern Datum time_in(PG_FUNCTION_ARGS); extern Datum time_out(PG_FUNCTION_ARGS); @@ -85,6 +87,8 @@ extern Datum time_larger(PG_FUNCTION_ARGS); extern Datum time_smaller(PG_FUNCTION_ARGS); extern Datum timestamp_time(PG_FUNCTION_ARGS); extern Datum time_interval(PG_FUNCTION_ARGS); +extern Datum text_time(PG_FUNCTION_ARGS); +extern Datum time_text(PG_FUNCTION_ARGS); extern Datum timetz_in(PG_FUNCTION_ARGS); extern Datum timetz_out(PG_FUNCTION_ARGS); @@ -101,5 +105,7 @@ extern Datum timetz_larger(PG_FUNCTION_ARGS); extern Datum timetz_smaller(PG_FUNCTION_ARGS); extern Datum timestamp_timetz(PG_FUNCTION_ARGS); extern Datum datetimetz_timestamp(PG_FUNCTION_ARGS); +extern Datum text_timetz(PG_FUNCTION_ARGS); +extern Datum timetz_text(PG_FUNCTION_ARGS); #endif /* DATE_H */