diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 8d9b2ff382..ca6b63e08f 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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,