Commit dd154dde authored by Tom Lane's avatar Tom Lane

Make current_time deliver a fractional-second answer.

parent 67bf0fc1
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.68 2001/10/03 05:29:24 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.69 2001/10/04 17:10:11 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1151,7 +1151,11 @@ DecodeTimeOnly(char **field, int *ftype, int nf, ...@@ -1151,7 +1151,11 @@ DecodeTimeOnly(char **field, int *ftype, int nf,
case DTK_NOW: case DTK_NOW:
tmask = DTK_TIME_M; tmask = DTK_TIME_M;
*dtype = DTK_TIME; *dtype = DTK_TIME;
#if NOT_USED
GetCurrentTime(tm); GetCurrentTime(tm);
#else
GetCurrentTimeUsec(tm, fsec);
#endif
break; break;
case DTK_ZULU: case DTK_ZULU:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment