Improve gettimeofday() documentation.
authorBruce Momjian
Wed, 29 Jun 2005 01:52:56 +0000 (01:52 +0000)
committerBruce Momjian
Wed, 29 Jun 2005 01:52:56 +0000 (01:52 +0000)
Karl O. Pinc

doc/src/sgml/func.sgml

index 734686bf4a4317e50e5beb14c40874cbd3679f0c..d837219421e61d0842a21c0b32520a3b0acba0d4 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -5786,15 +5786,6 @@ SELECT LOCALTIMESTAMP;
     CURRENT_TIMESTAMP.
    
 
-   
-    There is also the function timeofday(), which for historical
-    reasons returns a text string rather than a timestamp value:
-
-SELECT timeofday();
-Result: Sat Feb 17 19:07:32.000126 2001 EST
-
-   
-
    
     It is important to know that
     CURRENT_TIMESTAMP and related functions return
@@ -5803,8 +5794,7 @@ SELECT timeofday();
     the intent is to allow a single transaction to have a consistent
     notion of the current time, so that multiple
     modifications within the same transaction bear the same
-    time stamp. timeofday()
-    returns the wall-clock time and does advance during transactions.
+    time stamp.
    
 
    
@@ -5814,6 +5804,18 @@ SELECT timeofday();
     
    
 
+   
+    There is also the function timeofday() which
+    returns the wall-clock time and advances during transactions.  For
+    historical reasons timeofday() returns a
+    text string rather than a timestamp
+    value:
+
+SELECT timeofday();
+Result: Sat Feb 17 19:07:32.000126 2001 EST
+
+   
+
    
     All the date/time data types also accept the special literal value
     now to specify the current date and time.  Thus,