Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89ce2bf

Browse files
committed
Add C comment that do_to_timestamp() lacks error checking.
1 parentbfd0cd5 commit89ce2bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/utils/adt/formatting.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -----------------------------------------------------------------------
22
* formatting.c
33
*
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 $
55
*
66
*
77
* Portions Copyright (c) 1999-2010, PostgreSQL Global Development Group
@@ -3097,6 +3097,9 @@ to_date(PG_FUNCTION_ARGS)
30973097
*
30983098
* The TmFromChar is then analysed and converted into the final results in
30993099
* struct 'tm' and 'fsec'.
3100+
*
3101+
* This function does very little error checking, e.g.
3102+
* to_timestamp('20096040','YYYYMMDD') works
31003103
*/
31013104
staticvoid
31023105
do_to_timestamp(text*date_txt,text*fmt,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp