diff options
Diffstat (limited to 'src/include/utils/formatting.h')
-rw-r--r-- | src/include/utils/formatting.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/include/utils/formatting.h b/src/include/utils/formatting.h index 36cc381b36d..327b83f6e8a 100644 --- a/src/include/utils/formatting.h +++ b/src/include/utils/formatting.h @@ -2,7 +2,7 @@ /* ----------------------------------------------------------------------- * formatting.h * - * $Id: formatting.h,v 1.4 2000/04/12 17:16:55 momjian Exp $ + * $Id: formatting.h,v 1.5 2000/06/09 01:11:15 tgl Exp $ * * * Portions Copyright (c) 1999-2000, PostgreSQL, Inc @@ -18,9 +18,12 @@ #ifndef _FORMATTING_H_ #define _FORMATTING_H_ -extern text *timestamp_to_char(Timestamp *dt, text *fmt); -extern Timestamp *to_timestamp(text *date_str, text *fmt); -extern DateADT to_date(text *date_str, text *fmt); +#include "fmgr.h" + + +extern Datum timestamp_to_char(PG_FUNCTION_ARGS); +extern Datum to_timestamp(PG_FUNCTION_ARGS); +extern Datum to_date(PG_FUNCTION_ARGS); extern Numeric numeric_to_number(text *value, text *fmt); extern text *numeric_to_char(Numeric value, text *fmt); extern text *int4_to_char(int32 value, text *fmt); |