diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-09-06 03:22:42 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-09-06 03:22:42 +0000 |
commit | 2a34134b6c5a46d8f905a82af51c55a7ec91ecac (patch) | |
tree | a791f893a03000fb533ea1efecd313c7478de2c1 /src/include/utils/formatting.h | |
parent | 74dde13e2c5bab897ec2cd0b50e92cfae83f8109 (diff) |
- new to_char(interval, text)
- new millisecond (ms) and microsecond (us) support
- more robus parsing from string - used is separator checking for
non-exact formats like to_date('2001-9-1', 'YYYY-MM-DD')
- SGML docs are included
Karel Zak
Diffstat (limited to 'src/include/utils/formatting.h')
-rw-r--r-- | src/include/utils/formatting.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/utils/formatting.h b/src/include/utils/formatting.h index 4b713e59850..424bcf0fcba 100644 --- a/src/include/utils/formatting.h +++ b/src/include/utils/formatting.h @@ -2,7 +2,7 @@ /* ----------------------------------------------------------------------- * formatting.h * - * $Id: formatting.h,v 1.7 2001/01/24 19:43:28 momjian Exp $ + * $Id: formatting.h,v 1.8 2001/09/06 03:22:42 momjian Exp $ * * * Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group @@ -10,7 +10,7 @@ * The PostgreSQL routines for a DateTime/int/float/numeric formatting, * inspire with Oracle TO_CHAR() / TO_DATE() / TO_NUMBER() routines. * - * Karel Zak - Zakkr + * Karel Zak * * ----------------------------------------------------------------------- */ @@ -22,6 +22,7 @@ extern Datum timestamp_to_char(PG_FUNCTION_ARGS); +extern Datum interval_to_char(PG_FUNCTION_ARGS); extern Datum to_timestamp(PG_FUNCTION_ARGS); extern Datum to_date(PG_FUNCTION_ARGS); extern Datum numeric_to_number(PG_FUNCTION_ARGS); |