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

Commit089f4b9

Browse files
committed
interval_abs():
Add C comment about why there is no interval_abs(): it is unclear whatvalue to return:http://archives.postgresql.org/pgsql-general/2009-10/msg01031.phphttp://archives.postgresql.org/pgsql-general/2009-11/msg00041.php
1 parente7ec022 commit089f4b9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.203 2009/09/04 11:20:22 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.204 2009/11/10 18:41:24 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2779,6 +2779,12 @@ interval_mi(PG_FUNCTION_ARGS)
27792779
PG_RETURN_INTERVAL_P(result);
27802780
}
27812781

2782+
/*
2783+
* There is no interval_abs(): it is unclear what value to return:
2784+
* http://archives.postgresql.org/pgsql-general/2009-10/msg01031.php
2785+
* http://archives.postgresql.org/pgsql-general/2009-11/msg00041.php
2786+
*/
2787+
27822788
Datum
27832789
interval_mul(PG_FUNCTION_ARGS)
27842790
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp