mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 22:02:03 +03:00
interval_abs():
Add C comment about why there is no interval_abs(): it is unclear what value to return: http://archives.postgresql.org/pgsql-general/2009-10/msg01031.php http://archives.postgresql.org/pgsql-general/2009-11/msg00041.php
This commit is contained in:
parent
e7ec022266
commit
089f4b921c
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.203 2009/09/04 11:20:22 heikki Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.204 2009/11/10 18:41:24 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2779,6 +2779,12 @@ interval_mi(PG_FUNCTION_ARGS)
|
|||||||
PG_RETURN_INTERVAL_P(result);
|
PG_RETURN_INTERVAL_P(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* There is no interval_abs(): it is unclear what value to return:
|
||||||
|
* http://archives.postgresql.org/pgsql-general/2009-10/msg01031.php
|
||||||
|
* http://archives.postgresql.org/pgsql-general/2009-11/msg00041.php
|
||||||
|
*/
|
||||||
|
|
||||||
Datum
|
Datum
|
||||||
interval_mul(PG_FUNCTION_ARGS)
|
interval_mul(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user