Add more documentation about CURRENT_TIMESTAMP.
authorBruce Momjian
Sat, 5 Oct 2002 19:03:16 +0000 (19:03 +0000)
committerBruce Momjian
Sat, 5 Oct 2002 19:03:16 +0000 (19:03 +0000)
Also, code < and > as </> for cleaner SGML.

doc/src/sgml/func.sgml

index 8d9b2ff382ce5ab1bd4b2b857bdce98f099944e5..ca6b63e08fe3fab27eeedacf77760616513e3c79 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -491,11 +491,11 @@ PostgreSQL documentation
         01110
        
        
-        B'10001' << 3
+        B'10001' << 3
         01000
        
        
-        B'10001' >> 2
+        B'10001' >> 2
         00100
        
       
@@ -2726,7 +2726,7 @@ SUBSTRING('foobar' FROM 'o(.)b')   o
 
    
     There are two special cases of bracket expressions:  the bracket
-    expressions [[:<:]] and
+    expressions [[:<:]] and
     [[:>:]] match the null string at the beginning
     and end of a word respectively.  A word is defined as a sequence
     of word characters which is neither preceded nor followed by word
@@ -3277,11 +3277,11 @@ SUBSTRING('foobar' FROM 'o(.)b')   o
        
        
    MI
-   minus sign in specified position (if number < 0)
+   minus sign in specified position (if number < 0)
        
        
    PL
-   plus sign in specified position (if number > 0)
+   plus sign in specified position (if number > 0)
        
        
    SG
@@ -4293,13 +4293,18 @@ SELECT timeofday();
    
 
    
-    It is quite important to realize that
-    CURRENT_TIMESTAMP and related functions all return
-    the time as of the start of the current transaction; their values do not
-    increment while a transaction is running.  But
-    timeofday() returns the actual current time.
+    It is important to realize that
+    CURRENT_TIMESTAMP and related functions return
+    the start time of the current transaction; their values do not
+    change during the transaction. timeofday()
+    returns the wall clock time and does advance during transactions.
    
 
+     
+    Many other database systems advance these values more
+    frequently.
+   
+
    
     All the date/time data types also accept the special literal value
     now to specify the current date and time.  Thus,