|
1 | 1 | /* -----------------------------------------------------------------------
|
2 | 2 | * formatting.c
|
3 | 3 | *
|
4 |
| - * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.166 2010/02/23 16:14:26 momjian Exp $ |
| 4 | + * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.167 2010/02/25 18:36:14 momjian Exp $ |
5 | 5 | *
|
6 | 6 | *
|
7 | 7 | * Portions Copyright (c) 1999-2010, PostgreSQL Global Development Group
|
@@ -3097,6 +3097,9 @@ to_date(PG_FUNCTION_ARGS)
|
3097 | 3097 | *
|
3098 | 3098 | * The TmFromChar is then analysed and converted into the final results in
|
3099 | 3099 | * struct 'tm' and 'fsec'.
|
| 3100 | + * |
| 3101 | + * This function does very little error checking, e.g. |
| 3102 | + * to_timestamp('20096040','YYYYMMDD') works |
3100 | 3103 | */
|
3101 | 3104 | staticvoid
|
3102 | 3105 | do_to_timestamp(text*date_txt,text*fmt,
|
|