Fix broken markup and spelling, put paragraph in a somewhat less random
authorTom Lane
Sat, 30 Jul 2005 22:53:15 +0000 (22:53 +0000)
committerTom Lane
Sat, 30 Jul 2005 22:53:15 +0000 (22:53 +0000)
place.

doc/src/sgml/func.sgml

index 55a5a63ae59ec581b1d6ab10b95a5755c11a7025..ba372618ac81c4786c34551f4665ee4e59b359d2 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -4903,24 +4903,6 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
    such pair.
   
 
-  
-   When adding an interval value to (or subtracting an 
-   interval value from) a timestamp with time zone 
-   value, the days component advances (or decrements) the date of the 
-   timestamp with time zone by the indicated number of days. 
-   Across daylight saving time changes (with the session tiem zone set to a 
-   time zone that recognizes DST), this means interval '1 day' 
-   does not necessarily equal interval '24 hours'
-   For example, with the session time zone set to CST7CDT
-   timestamp with time zone '2005-04-02 12:00-07' + interval '1 day' 
-   will produce timestamp with time zone '2005-04-03 12:00-06'
-   while adding interval '24 hours' to the same initial 
-   timestamp with time zone produces
-   timestamp with time zone '2005-04-03 13:00-06', as there is
-   a change in daylight saving time at 2005-04-03 02:00 in time zone 
-   CST7CDT.
-  
-
     
      Date/Time Operators
 
@@ -5241,6 +5223,24 @@ SELECT (DATE '2001-02-16', INTERVAL '100 days') OVERLAPS
 Result: false
 
 
+  
+   When adding an interval value to (or subtracting an 
+   interval value from) a timestamp with time zone 
+   value, the days component advances (or decrements) the date of the 
+   timestamp with time zone by the indicated number of days. 
+   Across daylight saving time changes (with the session time zone set to a 
+   time zone that recognizes DST), this means interval '1 day' 
+   does not necessarily equal interval '24 hours'
+   For example, with the session time zone set to CST7CDT,
+   timestamp with time zone '2005-04-02 12:00-07' + interval '1 day' 
+   will produce timestamp with time zone '2005-04-03 12:00-06'
+   while adding interval '24 hours' to the same initial 
+   timestamp with time zone produces
+   timestamp with time zone '2005-04-03 13:00-06', as there is
+   a change in daylight saving time at 2005-04-03 02:00 in time zone 
+   CST7CDT.
+  
+
   
    <function>EXTRACT</function>, <function>date_part</function>
 
@@ -9275,17 +9275,17 @@ SELECT set_config('log_statement_stats', 'off', false);
     pg_relation_size
    
    
-   pg_relation_size accepts the oid or name of a table, index or
-   toast table, and returns the size in bytes.
+    pg_relation_size accepts the oid or name of a table, index or
+    toast table, and returns the size in bytes.
    
    
-   pg_complete_relation_size accepts the oid or name of a table or
-   toast table, and returns the size in bytes of the data and all associated
+    pg_complete_relation_size accepts the oid or name of a table or
+    toast table, and returns the size in bytes of the data and all associated
     indexes and toast tables.
    
    
-   pg_size_pretty can be used to format the size of the
-   database objects in a human readable way, using kB, MB, GB or TB as appropriate.
+    pg_size_pretty can be used to format the size of the
+    database objects in a human readable way, using kB, MB, GB or TB as appropriate.