Content-Length: 270332 | pFad | http://github.com/postgrespro/postgres/commit/ffc703a891e336b9bf4b74112bd4684d1f990fab
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62be40 commit ffc703aCopy full SHA for ffc703a
src/backend/utils/adt/rangetypes.c
@@ -1313,7 +1313,7 @@ tsrange_subdiff(PG_FUNCTION_ARGS)
1313
#ifdef HAVE_INT64_TIMESTAMP
1314
result = ((float8)(v1-v2)) / USECS_PER_SEC;
1315
#else
1316
- result = timestamp;
+ result = v1 - v2;
1317
#endif
1318
1319
PG_RETURN_FLOAT8(result);
@@ -1329,7 +1329,7 @@ tstzrange_subdiff(PG_FUNCTION_ARGS)
1329
1330
1331
1332
1333
1334
1335
Fetched URL: http://github.com/postgrespro/postgres/commit/ffc703a891e336b9bf4b74112bd4684d1f990fab
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments