Doc fixes:
authorBruce Momjian
Thu, 9 Sep 2010 00:48:22 +0000 (00:48 +0000)
committerBruce Momjian
Thu, 9 Sep 2010 00:48:22 +0000 (00:48 +0000)
- remove excessive table cells
- moving function parameters into function tags rather than having
  them being considered separate
- add return type column on XML2 contrib module functions list and
  removing return types from function
- add table header to XML2 contrib parameter table

Thom Brown

Backpatch to 9.0.X.

doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml
doc/src/sgml/monitoring.sgml
doc/src/sgml/plperl.sgml
doc/src/sgml/sources.sgml
doc/src/sgml/xml2.sgml

index 31bebb1692ad27251b17f2bf15fbc6c70b1e184b..d14c7595c820d04a6e8751692fd4bd4220e7cada 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Data Types
@@ -3413,7 +3413,7 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
          
          cidr Input
          cidr Output
-         abbrev(cidr)
+         abbrev(cidr)
         
        
        
index 8d1015b9f8e967602bf174c0846bd73d67bb5115..9dc67e27d0800daa540239449c43943a9acdf395 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Functions and Operators
 
      
       
-       abs(x)
+       abs(x)
        (same as input)
        absolute value
        abs(-17.4)
       
 
       
-       cbrt(dp)
+       cbrt(dp)
        dp
        cube root
        cbrt(27.0)
       
 
       
-       ceil(dp or numeric)
+       ceil(dp or numeric)
        (same as input)
        smallest integer not less than argument
        ceil(-42.8)
       
 
       
-       ceiling(dp or numeric)
+       ceiling(dp or numeric)
        (same as input)
        smallest integer not less than argument (alias for ceil)
        ceiling(-95.3)
       
 
       
-       degrees(dp)
+       degrees(dp)
        dp
        radians to degrees
        degrees(0.5)
       
 
       
-       div(y numeric,
-        x numeric)
+       div(y numeric,
+        x numeric)function>literal>
        numeric
        integer quotient of y/x
        div(9,4)
       
 
       
-       exp(dp or numeric)
+       exp(dp or numeric)
        (same as input)
        exponential
        exp(1.0)
       
 
       
-       floor(dp or numeric)
+       floor(dp or numeric)
        (same as input)
        largest integer not greater than argument
        floor(-42.8)
       
 
       
-       ln(dp or numeric)
+       ln(dp or numeric)
        (same as input)
        natural logarithm
        ln(2.0)
       
 
       
-       log(dp or numeric)
+       log(dp or numeric)
        (same as input)
        base 10 logarithm
        log(100.0)
       
 
       
-       log(b numeric,
-        x numeric)
+       log(b numeric,
+        x numeric)function>literal>
        numeric
        logarithm to base b
        log(2.0, 64.0)
       
 
       
-       mod(y,
-        x)
+       mod(y,
+        x)function>literal>
        (same as argument types)
        remainder of y/x
        mod(9,4)
       
 
       
-       pi()
+       pi()
        dp
        π constant
        pi()
       
 
       
-       power(a dp,
-        b dp)
+       power(a dp,
+        b dp)function>literal>
        dp
        a raised to the power of b
        power(9.0, 3.0)
       
 
       
-       power(a numeric,
-        b numeric)
+       power(a numeric,
+        b numeric)function>literal>
        numeric
        a raised to the power of b
        power(9.0, 3.0)
       
 
       
-       radians(dp)
+       radians(dp)
        dp
        degrees to radians
        radians(45.0)
       
 
       
-       random()
+       random()
        dp
        random value in the range 0.0 <= x < 1.0
        random()
       
 
       
-       round(dp or numeric)
+       round(dp or numeric)
        (same as input)
        round to nearest integer
        round(42.4)
       
 
       
-       round(v numerics int)
+       round(v numerics int)
        numeric
        round to s decimal places
        round(42.4382, 2)
       
 
       
-       setseed(dp)
+       setseed(dp)
        void
        set seed for subsequent random() calls (value between -1.0 and
        1.0, inclusive)
       
 
       
-       sign(dp or numeric)
+       sign(dp or numeric)
        (same as input)
        sign of the argument (-1, 0, +1)
        sign(-8.4)
       
 
       
-       sqrt(dp or numeric)
+       sqrt(dp or numeric)
        (same as input)
        square root
        sqrt(2.0)
       
 
       
-       trunc(dp or numeric)
+       trunc(dp or numeric)
        (same as input)
        truncate toward zero
        trunc(42.8)
       
 
       
-       trunc(v numerics int)
+       trunc(v numerics int)
        numeric
        truncate to s decimal places
        trunc(42.4382, 2)
       
 
       
-       width_bucket(op numericb1 numericb2 numericcount int)
+       width_bucket(op numericb1 numericb2 numericcount int)
        int
        return the bucket to which operand would
        be assigned in an equidepth histogram with count
       
 
       
-       width_bucket(op dpb1 dpb2 dpcount int)
+       width_bucket(op dpb1 dpb2 dpcount int)
        int
        return the bucket to which operand would
        be assigned in an equidepth histogram with count
    precision. Trigonometric functions arguments are expressed
    in radians. Inverse functions return values are expressed in
    radians.  See unit transformation functions
-   radians() and
-   degrees() above.
+   radians() and
+   degrees() above.
   
 
    
 
      
       
-       acos(x)
+       acos(x)
        inverse cosine
       
 
       
-       asin(x)
+       asin(x)
        inverse sine
       
 
       
-       atan(x)
+       atan(x)
        inverse tangent
       
 
       
-       atan2(y,
-        x)
+       atan2(y,
+        x)function>literal>
        inverse tangent of
         y/x
       
 
       
-       cos(x)
+       cos(x)
        cosine
       
 
       
-       cot(x)
+       cot(x)
        cotangent
       
 
       
-       sin(x)
+       sin(x)
        sine
       
 
       
-       tan(x)
+       tan(x)
        tangent
       
      
       
 
       
-       bit_length(string)
+       bit_length(string)
        int
        Number of bits in string
        bit_length('jose')
       
 
       
-       char_length(string) or character_length(string)
+       char_length(string) or character_length(string)
        int
        
         Number of characters in string
       
 
       
-       lower(string)
+       lower(string)
        text
        Convert string to lower case
        lower('TOM')
       
 
       
-       octet_length(string)
+       octet_length(string)
        int
        Number of bytes in string
        octet_length('jose')
       
 
       
-       overlay(string placing string from int for int)
+       overlay(string placing string from int for int)
        text
        
         Replace substring
       
 
       
-       position(substring in string)
+       position(substring in string)
        int
        Location of specified substring
        position('om' in 'Thomas')
       
 
       
-       substring(string from int for int)
+       substring(string from int for int)
        text
        
         Extract substring
       
 
       
-       substring(string from pattern)
+       substring(string from pattern)
        text
        
         Extract substring matching POSIX regular expression. See
       
 
       
-       substring(string from pattern for escape)
+       substring(string from pattern for escape)
        text
        
         Extract substring matching SQL regular expression.
 
       
        
-        trim(leading | trailing | both
+        trim(leading | trailing | both
         characters from
-        string)
+        string)function>literal>
        
        text
        
       
 
       
-       upper(string)
+       upper(string)
        text
        Convert string to upper case
        upper('tom')
 
      
       
-       ascii(string)
+       ascii(string)
        int
        
         ASCII code of the first character of the
       
 
       
-       btrim(string text
-       characters text)
+       btrim(string text
+       characters text)function>literal>
        text
        
         Remove the longest string consisting only of characters
       
 
       
-       chr(int)
+       chr(int)
        text
        
         Character with the given code. For UTF8 the
 
       
        
-        concat(str "any"
-         [, str "any" [, ...] ])
+        concat(str "any"
+         [, str "any" [, ...] ])function>literal>
        
        text
        
 
       
        
-        concat_ws(sep text,
+        concat_ws(sep text,
         str "any"
-        [, str "any" [, ...] ])
+        [, str "any" [, ...] ])function>literal>
        
        text
        
 
       
        
-        convert(string bytea,
+        convert(string bytea,
         src_encoding name,
-        dest_encoding name)
+        dest_encoding name)function>literal>
        
        bytea
        
 
       
        
-        convert_from(string bytea,
-        src_encoding name)
+        convert_from(string bytea,
+        src_encoding name)function>literal>
        
        text
        
 
       
        
-        convert_to(string text,
-        dest_encoding name)
+        convert_to(string text,
+        dest_encoding name)function>literal>
        
        bytea
        
 
       
        
-        decode(string text,
-        type text)
+        decode(string text,
+        type text)function>literal>
        
        bytea
        
 
       
        
-        encode(data bytea,
-        type text)
+        encode(data bytea,
+        type text)function>literal>
        
        text
        
              
 
       
-       initcap(string)
+       initcap(string)
        text
        
         Convert the first letter of each word to upper case and the
 
       
        
-        left(str text,
-        n int)
+        left(str text,
+        n int)function>literal>
        
        text
        
       
 
       
-       length(string)
+       length(string)
        int
        
         Number of characters in string
       
 
       
-       length(stringbytea,
-        encoding name )
+       length(stringbytea,
+        encoding name )function>literal>
        int
        
         Number of characters in string in the given
 
       
        
-        lpad(string text,
+        lpad(string text,
         length int
-        fill text)
+        fill text)function>literal>
        
        text
        
       
 
       
-       ltrim(string text
-        characters text)
+       ltrim(string text
+        characters text)function>literal>
        
        text
        
       
 
       
-       md5(string)
+       md5(string)
        text
        
         Calculates the MD5 hash of string,
       
 
       
-       pg_client_encoding()
+       pg_client_encoding()
        name
        
         Current client encoding name
       
 
       
-       quote_ident(string text)
+       quote_ident(string text)
        text
        
         Return the given string suitably quoted to be used as an identifier
       
 
       
-       quote_literal(string text)
+       quote_literal(string text)
        text
        
         Return the given string suitably quoted to be used as a string literal
       
 
       
-       quote_literal(value anyelement)
+       quote_literal(value anyelement)
        text
        
         Coerce the given value to text and then quote it as a literal.
       
 
       
-       quote_nullable(string text)
+       quote_nullable(string text)
        text
        
         Return the given string suitably quoted to be used as a string literal
       
 
       
-       quote_nullable(value anyelement)
+       quote_nullable(value anyelement)
        text
        
         Coerce the given value to text and then quote it as a literal;
       
 
       
-       regexp_matches(string textpattern text [, flags text])
+       regexp_matches(string textpattern text [, flags text])
        setof text[]
        
         Return all captured substrings resulting from matching a POSIX regular
       
 
       
-       regexp_replace(string textpattern textreplacement text [, flags text])
+       regexp_replace(string textpattern textreplacement text [, flags text])
        text
        
         Replace substring(s) matching a POSIX regular expression. See
       
 
       
-       regexp_split_to_array(string textpattern text [, flags text ])
+       regexp_split_to_array(string textpattern text [, flags text ])
        text[]
        
         Split string using a POSIX regular expression as
       
 
       
-       regexp_split_to_table(string textpattern text [, flags text])
+       regexp_split_to_table(string textpattern text [, flags text])
        setof text
        
         Split string using a POSIX regular expression as
       
 
       
-       repeat(string textnumber int)
+       repeat(string textnumber int)
        text
        Repeat string the specified
        number of times
       
 
       
-       replace(string text,
+       replace(string text,
        from text,
-       to text)
+       to text)function>literal>
        text
        Replace all occurrences in string of substring
         from with substring to
 
       
        
-        reverse(str)
+        reverse(str)
        
        text
        
 
       
        
-        right(str text,
-         n int)
+        right(str text,
+         n int)function>literal>
        
        text
        
 
       
        
-        rpad(string text,
+        rpad(string text,
         length int
-        fill text)
+        fill text)function>literal>
        
        text
        
       
 
       
-       rtrim(string text
-        characters text)
+       rtrim(string text
+        characters text)function>literal>
        
        text
        
       
 
       
-       split_part(string text,
+       split_part(string text,
        delimiter text,
-       field int)
+       field int)function>literal>
        text
        Split string on delimiter
         and return the given field (counting from one)
       
 
       
-       strpos(stringsubstring)
+       strpos(stringsubstring)
        int
        
         Location of specified substring (same as
       
 
       
-       substr(stringfrom count)
+       substr(stringfrom count)
        text
        
         Extract substring (same as
       
 
       
-       to_ascii(string text
-        encoding text)
+       to_ascii(string text
+        encoding text)function>literal>
        text
 
        
       
 
       
-       to_hex(number int
-       or bigint)
+       to_hex(number int
+       or bigint)function>literal>
        text
        Convert number to its equivalent hexadecimal
         representation
 
       
        
-        translate(string text,
+        translate(string text,
         from text,
-        to text)
+        to text)function>literal>
        
        text
        
       
 
       
-       octet_length(string)
+       octet_length(string)
        int
        Number of bytes in binary string
        octet_length(E'jo\\000se'::bytea)
       
 
       
-       overlay(string placing string from int for int)
+       overlay(string placing string from int for int)
        bytea
        
         Replace substring
       
 
       
-       position(substring in string)
+       position(substring in string)
        int
        Location of specified substring
       position(E'\\000om'::bytea in E'Th\\000omas'::bytea)
       
 
       
-       substring(string from int for int)
+       substring(string from int for int)
        bytea
        
         Extract substring
 
       
        
-        trim(both
+        trim(both
         bytes from
-        string)
+        string)function>literal>
        
        bytea
        
 
      
       
-       btrim(string
-        byteabytes bytea)
+       btrim(string
+        byteabytes bytea)function>literal>
        bytea
        
         Remove the longest string consisting only of bytes
 
      
       
-       decode(string text,
-              type text)
+       decode(string text,
+              type text)function>literal>
       
       bytea
       
 
      
       
-       encode(string bytea,
-              type text)
+       encode(string bytea,
+              type text)function>literal>
       
       text
       
 
       
        
-        get_bit(stringoffset)
+        get_bit(stringoffset)
        
        int
        
 
       
        
-        get_byte(stringoffset)
+        get_byte(stringoffset)
        
        int
        
       
 
      
-      length(string)
+      length(string)
       int
       
        Length of binary string
      
 
      
-      md5(string)
+      md5(string)
       text
       
        Calculates the MD5 hash of string,
 
       
        
-        set_bit(string,
-        offsetnewvalue)
+        set_bit(string,
+        offsetnewvalue)function>literal>
        
        bytea
        
 
       
        
-        set_byte(string,
-        offsetnewvalue)
+        set_byte(string,
+        offsetnewvalue)function>literal>
        
        bytea
        
@@ -4934,19 +4934,19 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
       
       
        
-        to_char(timestamptext)
+        to_char(timestamptext)
         text
         convert time stamp to string
         to_char(current_timestamp, 'HH12:MI:SS')
        
        
-        to_char(intervaltext)
+        to_char(intervaltext)
         text
         convert interval to string
         to_char(interval '15h 2m 12s', 'HH24:MI:SS')
        
        
-        to_char(inttext)
+        to_char(inttext)
         text
         convert integer to string
         to_char(125, '999')
@@ -4959,31 +4959,31 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
         to_char(125.8::real, '999D9')
        
        
-        to_char(numerictext)
+        to_char(numerictext)
         text
         convert numeric to string
         to_char(-125.8, '999D99S')
        
        
-        to_date(texttext)
+        to_date(texttext)
         date
         convert string to date
         to_date('05 Dec 2000', 'DD Mon YYYY')
        
        
-        to_number(texttext)
+        to_number(texttext)
         numeric
         convert string to numeric
         to_number('12,454.8-', '99G999D9S')
        
        
-        to_timestamp(texttext)
+        to_timestamp(texttext)
         timestamp with time zone
         convert string to time stamp
         to_timestamp('05 Dec 2000', 'DD Mon YYYY')
        
        
-        to_timestamp(double precision)
+        to_timestamp(double precision)
         timestamp with time zone
         convert Unix epoch to time stamp
         to_timestamp(1284352323)
@@ -6020,7 +6020,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
 
       
        
-        age(timestamptimestamp)
+        age(timestamptimestamp)
         interval
         Subtract arguments, producing a symbolic result that
         uses years and months
@@ -6029,7 +6029,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        age(timestamp)
+        age(timestamp)
         interval
         Subtract from current_date (at midnight)
         age(timestamp '1957-06-13')
@@ -6037,7 +6037,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        clock_timestamp()
+        clock_timestamp()
         timestamp with time zone
         Current date and time (changes during statement execution);
          see 
@@ -6077,7 +6077,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        date_part(texttimestamp)
+        date_part(texttimestamp)
         double precision
         Get subfield (equivalent to extract);
          see 
@@ -6087,7 +6087,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        date_part(textinterval)
+        date_part(textinterval)
         double precision
         Get subfield (equivalent to
          extract); see 
@@ -6097,7 +6097,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        date_trunc(texttimestamp)
+        date_trunc(texttimestamp)
         timestamp
         Truncate to specified precision; see also 
         
@@ -6126,7 +6126,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        isfinite(date)
+        isfinite(date)
         boolean
         Test for finite date (not +/-infinity)
         isfinite(date '2001-02-16')
@@ -6134,7 +6134,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        isfinite(timestamp)
+        isfinite(timestamp)
         boolean
         Test for finite time stamp (not +/-infinity)
         isfinite(timestamp '2001-02-16 21:28:30')
@@ -6142,7 +6142,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        isfinite(interval)
+        isfinite(interval)
         boolean
         Test for finite interval
         isfinite(interval '4 hours')
@@ -6150,7 +6150,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        justify_days(interval)
+        justify_days(interval)
         interval
         Adjust interval so 30-day time periods are represented as months
         justify_days(interval '35 days')
@@ -6158,7 +6158,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        justify_hours(interval)
+        justify_hours(interval)
         interval
         Adjust interval so 24-hour time periods are represented as days
         justify_hours(interval '27 hours')
@@ -6166,7 +6166,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        justify_interval(interval)
+        justify_interval(interval)
         interval
         Adjust interval using justify_days and justify_hours, with additional sign adjustments
         justify_interval(interval '1 mon -1 hour')
@@ -6194,7 +6194,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        now()
+        now()
         timestamp with time zone
         Current date and time (start of current transaction);
          see 
@@ -6204,7 +6204,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        statement_timestamp()
+        statement_timestamp()
         timestamp with time zone
         Current date and time (start of current statement);
          see 
@@ -6214,7 +6214,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        timeofday()
+        timeofday()
         text
         Current date and time
          (like clock_timestamp, but as a text string);
@@ -6225,7 +6225,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
        
 
        
-        transaction_timestamp()
+        transaction_timestamp()
         timestamp with time zone
         Current date and time (start of current transaction);
          see 
@@ -7419,61 +7419,61 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        area(object)
+        area(object)
         double precision
         area
         area(box '((0,0),(1,1))')
        
        
-        center(object)
+        center(object)
         point
         center
         center(box '((0,0),(1,2))')
        
        
-        diameter(circle)
+        diameter(circle)
         double precision
         diameter of circle
         diameter(circle '((0,0),2.0)')
        
        
-        height(box)
+        height(box)
         double precision
         vertical size of box
         height(box '((0,0),(1,1))')
        
        
-        isclosed(path)
+        isclosed(path)
         boolean
         a closed path?
         isclosed(path '((0,0),(1,1),(2,0))')
        
        
-        isopen(path)
+        isopen(path)
         boolean
         an open path?
         isopen(path '[(0,0),(1,1),(2,0)]')
        
        
-        length(object)
+        length(object)
         double precision
         length
         length(path '((-1,0),(1,0))')
        
        
-        npoints(path)
+        npoints(path)
         int
         number of points
         npoints(path '[(0,0),(1,1),(2,0)]')
        
        
-        npoints(polygon)
+        npoints(polygon)
         int
         number of points
         npoints(polygon '((1,1),(0,0))')
        
        
-        pclose(path)
+        pclose(path)
         path
         convert path to closed
         pclose(path '[(0,0),(1,1),(2,0)]')
@@ -7481,26 +7481,26 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
 
 
        
-        point(lseg, lseg)
+        point(lseg, lseg)
         point
         intersection
         point(lseg '((-1,0),(1,0))',lseg '((-2,-2),(2,2))')
        
 ]]>
        
-        popen(path)
+        popen(path)
         path
         convert path to open
         popen(path '((0,0),(1,1),(2,0))')
        
        
-        radius(circle)
+        radius(circle)
         double precision
         radius of circle
         radius(circle '((0,0),2.0)')
        
        
-        width(box)
+        width(box)
         double precision
         horizontal size of box
         width(box '((0,0),(1,1))')
@@ -7522,55 +7522,55 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        box(circle)
+        box(circle)
         box
         circle to box
         box(circle '((0,0),2.0)')
        
        
-        box(pointpoint)
+        box(pointpoint)
         box
         points to box
         box(point '(0,0)', point '(1,1)')
        
        
-        box(polygon)
+        box(polygon)
         box
         polygon to box
         box(polygon '((0,0),(1,1),(2,0))')
        
        
-        circle(box)
+        circle(box)
         circle
         box to circle
         circle(box '((0,0),(1,1))')
        
        
-        circle(pointdouble precision)
+        circle(pointdouble precision)
         circle
         center and radius to circle
         circle(point '(0,0)', 2.0)
        
        
-        circle(polygon)
+        circle(polygon)
         circle
         polygon to circle
         circle(polygon '((0,0),(1,1),(2,0))')
        
        
-        lseg(box)
+        lseg(box)
         lseg
         box diagonal to line segment
         lseg(box '((-1,0),(1,0))')
        
        
-        lseg(pointpoint)
+        lseg(pointpoint)
         lseg
         points to line segment
         lseg(point '(-1,0)', point '(1,0)')
        
        
-        path(polygon)
+        path(polygon)
         point
         polygon to path
         path(polygon '((0,0),(1,1),(2,0))')
@@ -7583,49 +7583,49 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
         point(23.4, -44.5)
        
        
-        point(box)
+        point(box)
         point
         center of box
         point(box '((-1,0),(1,0))')
        
        
-        point(circle)
+        point(circle)
         point
         center of circle
         point(circle '((0,0),2.0)')
        
        
-        point(lseg)
+        point(lseg)
         point
         center of line segment
         point(lseg '((-1,0),(1,0))')
        
        
-        point(polygon)
+        point(polygon)
         point
         center of polygon
         point(polygon '((0,0),(1,1),(2,0))')
        
        
-        polygon(box)
+        polygon(box)
         polygon
         box to 4-point polygon
         polygon(box '((0,0),(1,1))')
        
        
-        polygon(circle)
+        polygon(circle)
         polygon
         circle to 12-point polygon
         polygon(circle '((0,0),2.0)')
        
        
-        polygon(npts, circle)
+        polygon(npts, circle)
         polygon
         circle to npts-point polygon
         polygon(12, circle '((0,0),2.0)')
        
        
-        polygon(path)
+        polygon(path)
         polygon
         path to polygon
         polygon(path '((0,0),(1,1),(2,0))')
@@ -7795,28 +7795,28 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        abbrev(inet)
+        abbrev(inet)
         text
         abbreviated display format as text
         abbrev(inet '10.1.0.0/16')
         10.1.0.0/16
        
        
-        abbrev(cidr)
+        abbrev(cidr)
         text
         abbreviated display format as text
         abbrev(cidr '10.1.0.0/16')
         10.1/16
        
        
-        broadcast(inet)
+        broadcast(inet)
         inet
         broadcast address for network
         broadcast('192.168.1.5/24')
         192.168.1.255/24
        
        
-        family(inet)
+        family(inet)
         int
         extract family of address; 4 for IPv4,
          6 for IPv6
@@ -7824,56 +7824,56 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
         6
        
        
-        host(inet)
+        host(inet)
         text
         extract IP address as text
         host('192.168.1.5/24')
         192.168.1.5
        
        
-        hostmask(inet)
+        hostmask(inet)
         inet
         construct host mask for network
         hostmask('192.168.23.20/30')
         0.0.0.3
        
        
-        masklen(inet)
+        masklen(inet)
         int
         extract netmask length
         masklen('192.168.1.5/24')
         24
        
        
-        netmask(inet)
+        netmask(inet)
         inet
         construct netmask for network
         netmask('192.168.1.5/24')
         255.255.255.0
        
        
-        network(inet)
+        network(inet)
         cidr
         extract network part of address
         network('192.168.1.5/24')
         192.168.1.0/24
        
        
-        set_masklen(inetint)
+        set_masklen(inetint)
         inet
         set netmask length for inet value
         set_masklen('192.168.1.5/24', 16)
         192.168.1.5/16
        
        
-        set_masklen(cidrint)
+        set_masklen(cidrint)
         cidr
         set netmask length for cidr value
         set_masklen('192.168.1.0/24'::cidr, 16)
         192.168.0.0/16
        
        
-        text(inet)
+        text(inet)
         text
         extract IP address and netmask length as text
         text(inet '192.168.1.5')
@@ -7902,7 +7902,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
   
     shows the functions
    available for use with the macaddr type.  The function
-   trunc(macaddr) returns a MAC
+   trunc(macaddr) returns a MAC
    address with the last 3 bytes set to zero.  This can be used to
    associate the remaining prefix with a manufacturer.
   
@@ -7921,7 +7921,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        trunc(macaddr)
+        trunc(macaddr)
         macaddr
         set last 3 bytes to zero
         trunc(macaddr '12:34:56:78:90:ab')
@@ -8056,117 +8056,116 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        to_tsvector( config regconfig ,  document text)
+        to_tsvector( config regconfig ,  document text)
         tsvector
         reduce document text to tsvector
         to_tsvector('english', 'The Fat Rats')
         'fat':2 'rat':3
        
        
-        length(tsvector)
+        length(tsvector)
         integer
         number of lexemes in tsvector
         length('fat:2,4 cat:3 rat:5A'::tsvector)
         3
        
        
-        setweight(tsvector, "char")
+        setweight(tsvector, "char")
         tsvector
         assign weight to each element of tsvector
         setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A')
         'cat':3A 'fat':2A,4A 'rat':5A
        
        
-        strip(tsvector)
+        strip(tsvector)
         tsvector
         remove positions and weights from tsvector
         strip('fat:2,4 cat:3 rat:5A'::tsvector)
         'cat' 'fat' 'rat'
        
        
-        to_tsquery( config regconfig ,  query text)
+        to_tsquery( config regconfig ,  query text)
         tsquery
         normalize words and convert to tsquery
         to_tsquery('english', 'The & Fat & Rats')
         'fat' & 'rat'
        
        
-        plainto_tsquery( config regconfig ,  query text)
+        plainto_tsquery( config regconfig ,  query text)
         tsquery
         produce tsquery ignoring punctuation
         plainto_tsquery('english', 'The Fat Rats')
         'fat' & 'rat'
        
        
-        numnode(tsquery)
+        numnode(tsquery)
         integer
         number of lexemes plus operators in tsquery
          numnode('(fat & rat) | cat'::tsquery)
         5
        
        
-        querytree(query tsquery)
+        querytree(query tsquery)
         text
         get indexable part of a tsquery
         querytree('foo & ! bar'::tsquery)
         'foo'
        
        
-        ts_rank( weights float4[],  vector tsvector, query tsquery normalization integer )
+        ts_rank( weights float4[],  vector tsvector, query tsquery normalization integer )
         float4
         rank document for query
         ts_rank(textsearch, query)
         0.818
        
        
-        ts_rank_cd( weights float4[],  vector tsvector, query tsquery normalization integer )
+        ts_rank_cd( weights float4[],  vector tsvector, query tsquery normalization integer )
         float4
         rank document for query using cover density
         ts_rank_cd('{0.1, 0.2, 0.4, 1.0}', textsearch, query)
         2.01317
        
        
-        ts_headline( config regconfig,  document text, query tsquery options text )
+        ts_headline( config regconfig,  document text, query tsquery options text )
         text
         display a query match
         ts_headline('x y z', 'z'::tsquery)
         x y <b>z</b>
        
        
-        ts_rewrite(query tsquery, target tsquery, substitute tsquery)
+        ts_rewrite(query tsquery, target tsquery, substitute tsquery)
         tsquery
         replace target with substitute within query
         ts_rewrite('a & b'::tsquery, 'a'::tsquery, 'foo|bar'::tsquery)
         'b' & ( 'foo' | 'bar' )
        
        
-        ts_rewrite(query tsquery, select text)
+        ts_rewrite(query tsquery, select text)
         tsquery
         replace using targets and substitutes from a SELECT command
         SELECT ts_rewrite('a & b'::tsquery, 'SELECT t,s FROM aliases')
         'b' & ( 'foo' | 'bar' )
        
        
-        get_current_ts_config()
+        get_current_ts_config()
         regconfig
         get default text search configuration
         get_current_ts_config()
         english
        
        
-        tsvector_update_trigger()
+        tsvector_update_trigger()
         trigger
         trigger function for automatic tsvector column update
         CREATE TRIGGER ... tsvector_update_trigger(tsvcol, 'pg_catalog.swedish', title, body)
         
        
        
-        tsvector_update_trigger_column()
+        tsvector_update_trigger_column()
         trigger
         trigger function for automatic tsvector column update
         CREATE TRIGGER ... tsvector_update_trigger_column(tsvcol, configcol, title, body)
         
-        
        
       
      
@@ -8203,49 +8202,49 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
       
       
        
-        ts_debug( config regconfig,  document text, OUT alias text, OUT description text, OUT token text, OUT dictionaries regdictionary[], OUT dictionary regdictionary, OUT lexemes text[])
+        ts_debug( config regconfig,  document text, OUT alias text, OUT description text, OUT token text, OUT dictionaries regdictionary[], OUT dictionary regdictionary, OUT lexemes text[])
         setof record
         test a configuration
         ts_debug('english', 'The Brightest supernovaes')
         (asciiword,"Word, all ASCII",The,{english_stem},english_stem,{}) ...
        
        
-        ts_lexize(dict regdictionary, token text)
+        ts_lexize(dict regdictionary, token text)
         text[]
         test a dictionary
         ts_lexize('english_stem', 'stars')
         {star}
        
        
-        ts_parse(parser_name text, document text, OUT tokid integer, OUT token text)
+        ts_parse(parser_name text, document text, OUT tokid integer, OUT token text)
         setof record
         test a parser
         ts_parse('default', 'foo - bar')
         (1,foo) ...
        
        
-        ts_parse(parser_oid oid, document text, OUT tokid integer, OUT token text)
+        ts_parse(parser_oid oid, document text, OUT tokid integer, OUT token text)
         setof record
         test a parser
         ts_parse(3722, 'foo - bar')
         (1,foo) ...
        
        
-        ts_token_type(parser_name text, OUT tokid integer, OUT alias text, OUT description text)
+        ts_token_type(parser_name text, OUT tokid integer, OUT alias text, OUT description text)
         setof record
         get token types defined by parser
         ts_token_type('default')
         (1,asciiword,"Word, all ASCII") ...
        
        
-        ts_token_type(parser_oid oid, OUT tokid integer, OUT alias text, OUT description text)
+        ts_token_type(parser_oid oid, OUT tokid integer, OUT alias text, OUT description text)
         setof record
         get token types defined by parser
         ts_token_type(3722)
         (1,asciiword,"Word, all ASCII") ...
        
        
-        ts_stat(sqlquery text,  weights text,  OUT word text, OUT ndoc integer, OUT nentry integer)
+        ts_stat(sqlquery text,  weights text,  OUT word text, OUT ndoc integer, OUT nentry integer)
         setof record
         get statistics of a tsvector column
         ts_stat('SELECT vector from apod')
@@ -9190,29 +9189,29 @@ table2-mapping
 
      
       
-        currval(regclass)
+        currval(regclass)
         bigint
         Return value most recently obtained with
         nextval for specified sequence
       
       
-        lastval()
+        lastval()
         bigint
         Return value most recently obtained with
         nextval for any sequence
       
       
-        nextval(regclass)
+        nextval(regclass)
         bigint
         Advance sequence and return new value
       
       
-        setval(regclassbigint)
+        setval(regclassbigint)
         bigint
         Set sequence's current value
       
       
-        setval(regclassbigintboolean)
+        setval(regclassbigintboolean)
         bigint
         Set sequence's current value and is_called flag
       
@@ -11610,7 +11609,7 @@ AND
 
     
      
-      generate_series(startstop)
+      generate_series(startstop)
       int or bigint
       setof int or setof bigint (same as argument type)
       
@@ -11620,7 +11619,7 @@ AND
      
 
      
-      generate_series(startstopstep)
+      generate_series(startstopstep)
       int or bigint
       setof int or setof bigint (same as argument type)
       
@@ -11630,7 +11629,7 @@ AND
      
 
      
-      generate_series(startstopstep interval)
+      generate_series(startstopstep interval)
       timestamp or timestamp with time zone
       setof timestamp or setof timestamp with time zone (same as argument type)
       
@@ -11711,7 +11710,7 @@ SELECT * FROM generate_series('2008-03-01 00:00'::timestamp,
 
     
      
-      generate_subscripts(array anyarraydim int)
+      generate_subscripts(array anyarraydim int)
       setof int
       
        Generate a series comprising the given array's subscripts.
@@ -11719,7 +11718,7 @@ SELECT * FROM generate_series('2008-03-01 00:00'::timestamp,
      
 
      
-      generate_subscripts(array anyarraydim intreverse boolean)
+      generate_subscripts(array anyarraydim intreverse boolean)
       setof int
       
        Generate a series comprising the given array's subscripts. When
@@ -11825,7 +11824,7 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
       
 
       
-       current_database()
+       current_database()
        name
        name of current database
       
@@ -11837,7 +11836,7 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
       
 
       
-       current_schemas(boolean)
+       current_schemas(boolean)
        name[]
        names of schemas in search path, optionally including implicit schemas
       
@@ -11849,7 +11848,7 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
       
 
       
-       current_query()
+       current_query()
        text
        text of the currently executing query, as submitted
        by the client (might contain more than one statement)
@@ -11857,7 +11856,7 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
 
       
        
-       pg_backend_pid()
+       pg_backend_pid()
        int
        
         Process ID of the server process attached to the current session
@@ -11865,55 +11864,55 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
       
 
       
-       pg_listening_channels()
+       pg_listening_channels()
        setof text
        channel names that the session is currently listening on
       
 
       
-       inet_client_addr()
+       inet_client_addr()
        inet
        address of the remote connection
       
 
       
-       inet_client_port()
+       inet_client_port()
        int
        port of the remote connection
       
 
       
-       inet_server_addr()
+       inet_server_addr()
        inet
        address of the local connection
       
 
       
-       inet_server_port()
+       inet_server_port()
        int
        port of the local connection
       
 
       
-       pg_my_temp_schema()
+       pg_my_temp_schema()
        oid
        OID of session's temporary schema, or 0 if none
       
 
       
-       pg_is_other_temp_schema(oid)
+       pg_is_other_temp_schema(oid)
        boolean
        is schema another session's temporary schema?
       
 
       
-       pg_postmaster_start_time()
+       pg_postmaster_start_time()
        timestamp with time zone
        server start time
       
 
       
-       pg_conf_load_time()
+       pg_conf_load_time()
        timestamp with time zone
        configuration load time
       
@@ -11931,7 +11930,7 @@ postgres=# SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]);
       
 
       
-       version()
+       version()
        text
        PostgreSQL version information
       
@@ -12530,61 +12529,61 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
 
      
       
-       pg_conversion_is_visible(conversion_oid)
+       pg_conversion_is_visible(conversion_oid)
        
        boolean
        is conversion visible in search path
       
       
-       pg_function_is_visible(function_oid)
+       pg_function_is_visible(function_oid)
        
        boolean
        is function visible in search path
       
       
-       pg_operator_is_visible(operator_oid)
+       pg_operator_is_visible(operator_oid)
        
        boolean
        is operator visible in search path
       
       
-       pg_opclass_is_visible(opclass_oid)
+       pg_opclass_is_visible(opclass_oid)
        
        boolean
        is operator class visible in search path
       
       
-       pg_table_is_visible(table_oid)
+       pg_table_is_visible(table_oid)
        
        boolean
        is table visible in search path
       
       
-       pg_ts_config_is_visible(config_oid)
+       pg_ts_config_is_visible(config_oid)
        
        boolean
        is text search configuration visible in search path
       
       
-       pg_ts_dict_is_visible(dict_oid)
+       pg_ts_dict_is_visible(dict_oid)
        
        boolean
        is text search dictionary visible in search path
       
       
-       pg_ts_parser_is_visible(parser_oid)
+       pg_ts_parser_is_visible(parser_oid)
        
        boolean
        is text search parser visible in search path
       
       
-       pg_ts_template_is_visible(template_oid)
+       pg_ts_template_is_visible(template_oid)
        
        boolean
        is text search template visible in search path
       
       
-       pg_type_is_visible(type_oid)
+       pg_type_is_visible(type_oid)
        
        boolean
        is type (or domain) visible in search path
@@ -12726,81 +12725,81 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
 
      
       
-       format_type(type_oidtypemod)
+       format_type(type_oidtypemod)
        text
        get SQL name of a data type
       
       
-       pg_get_keywords()
+       pg_get_keywords()
        setof record
        get list of SQL keywords and their categories
       
       
-       pg_get_constraintdef(constraint_oid)
+       pg_get_constraintdef(constraint_oid)
        text
        get definition of a constraint
       
       
-       pg_get_constraintdef(constraint_oidpretty_bool)
+       pg_get_constraintdef(constraint_oidpretty_bool)
        text
        get definition of a constraint
       
       
-       pg_get_expr(pg_node_treerelation_oid)
+       pg_get_expr(pg_node_treerelation_oid)
        text
        decompile internal form of an expression, assuming that any Vars
        in it refer to the relation indicated by the second parameter
       
       
-       pg_get_expr(pg_node_treerelation_oid, pretty_bool)
+       pg_get_expr(pg_node_treerelation_oid, pretty_bool)
        text
        decompile internal form of an expression, assuming that any Vars
        in it refer to the relation indicated by the second parameter
       
       
-       pg_get_functiondef(func_oid)
+       pg_get_functiondef(func_oid)
        text
        get definition of a function
       
       
-       pg_get_function_arguments(func_oid)
+       pg_get_function_arguments(func_oid)
        text
        get argument list of function's definition (with default values)
       
       
-       pg_get_function_identity_arguments(func_oid)
+       pg_get_function_identity_arguments(func_oid)
        text
        get argument list to identify a function (without default values)
       
       
-       pg_get_function_result(func_oid)
+       pg_get_function_result(func_oid)
        text
        get RETURNS clause for function
       
       
-       pg_get_indexdef(index_oid)
+       pg_get_indexdef(index_oid)
        text
        get CREATE INDEX command for index
       
       
-       pg_get_indexdef(index_oidcolumn_no, pretty_bool)
+       pg_get_indexdef(index_oidcolumn_no, pretty_bool)
        text
        get CREATE INDEX command for index,
        or definition of just one index column when
        column_no is not zero
       
       
-       pg_get_ruledef(rule_oid)
+       pg_get_ruledef(rule_oid)
        text
        get CREATE RULE command for rule
       
       
-       pg_get_ruledef(rule_oidpretty_bool)
+       pg_get_ruledef(rule_oidpretty_bool)
        text
        get CREATE RULE command for rule
       
       
-       pg_get_serial_sequence(table_namecolumn_name)
+       pg_get_serial_sequence(table_namecolumn_name)
        text
        get name of the sequence that a serial or bigserial column
        uses
@@ -12816,37 +12815,37 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
        get CREATE [ CONSTRAINT ] TRIGGER command for trigger
       
       
-       pg_get_userbyid(role_oid)
+       pg_get_userbyid(role_oid)
        name
        get role name with given OID
       
       
-       pg_get_viewdef(view_name)
+       pg_get_viewdef(view_name)
        text
        get underlying SELECT command for view (deprecated)
       
       
-       pg_get_viewdef(view_namepretty_bool)
+       pg_get_viewdef(view_namepretty_bool)
        text
        get underlying SELECT command for view (deprecated)
       
       
-       pg_get_viewdef(view_oid)
+       pg_get_viewdef(view_oid)
        text
        get underlying SELECT command for view
       
       
-       pg_get_viewdef(view_oidpretty_bool)
+       pg_get_viewdef(view_oidpretty_bool)
        text
        get underlying SELECT command for view
       
       
-       pg_tablespace_databases(tablespace_oid)
+       pg_tablespace_databases(tablespace_oid)
        setof oid
        get the set of database OIDs that have objects in the tablespace
       
       
-       pg_typeof(any)
+       pg_typeof(any)
        regtype
        get the data type of any value
       
@@ -12994,22 +12993,22 @@ SELECT typlen FROM pg_type WHERE oid = pg_typeof(33);
 
      
       
-       col_description(table_oidcolumn_number)
+       col_description(table_oidcolumn_number)
        text
        get comment for a table column
       
       
-       obj_description(object_oidcatalog_name)
+       obj_description(object_oidcatalog_name)
        text
        get comment for a database object
       
       
-       obj_description(object_oid)
+       obj_description(object_oid)
        text
        get comment for a database object (deprecated)
       
       
-       shobj_description(object_oidcatalog_name)
+       shobj_description(object_oidcatalog_name)
        text
        get comment for a shared database object
       
@@ -13084,32 +13083,32 @@ SELECT typlen FROM pg_type WHERE oid = pg_typeof(33);
 
      
       
-       txid_current()
+       txid_current()
        bigint
        get current transaction ID
       
       
-       txid_current_snapshot()
+       txid_current_snapshot()
        txid_snapshot
        get current snapshot
       
       
-       txid_snapshot_xmin(txid_snapshot)
+       txid_snapshot_xmin(txid_snapshot)
        bigint
        get xmin of snapshot
       
       
-       txid_snapshot_xmax(txid_snapshot)
+       txid_snapshot_xmax(txid_snapshot)
        bigint
        get xmax of snapshot
       
       
-       txid_snapshot_xip(txid_snapshot)
+       txid_snapshot_xip(txid_snapshot)
        setof bigint
        get in-progress transaction IDs in snapshot
       
       
-       txid_visible_in_snapshot(biginttxid_snapshot)
+       txid_visible_in_snapshot(biginttxid_snapshot)
        boolean
        is transaction ID visible in snapshot? (do not use with subtransaction ids)
       
@@ -13201,7 +13200,7 @@ SELECT typlen FROM pg_type WHERE oid = pg_typeof(33);
      
       
        
-        current_setting(setting_name)
+        current_setting(setting_name)
        
        text
        get current value of setting
@@ -13303,28 +13302,28 @@ SELECT set_config('log_statement_stats', 'off', false);
      
       
        
-        pg_cancel_backend(pid int)
+        pg_cancel_backend(pid int)
         
        boolean
        Cancel a backend's current query
       
       
        
-        pg_terminate_backend(pid int)
+        pg_terminate_backend(pid int)
         
        boolean
        Terminate a backend
       
       
        
-        pg_reload_conf()
+        pg_reload_conf()
         
        boolean
        Cause server processes to reload their configuration files
       
       
        
-        pg_rotate_logfile()
+        pg_rotate_logfile()
         
        boolean
        Rotate server's log file
@@ -13406,49 +13405,49 @@ SELECT set_config('log_statement_stats', 'off', false);
      
       
        
-        pg_start_backup(label text fast boolean )
+        pg_start_backup(label text fast boolean )
         
        text
        Prepare for performing on-line backup
       
       
        
-        pg_stop_backup()
+        pg_stop_backup()
         
        text
        Finish performing on-line backup
       
       
        
-        pg_switch_xlog()
+        pg_switch_xlog()
         
        text
        Force switch to a new transaction log file
       
       
        
-        pg_current_xlog_location()
+        pg_current_xlog_location()
         
        text
        Get current transaction log write location
       
       
        
-        pg_current_xlog_insert_location()
+        pg_current_xlog_insert_location()
         
        text
        Get current transaction log insert location
       
       
        
-        pg_xlogfile_name_offset(location text)
+        pg_xlogfile_name_offset(location text)
         
        text, integer
        Convert transaction log location string to file name and decimal byte offset within file
       
       
        
-        pg_xlogfile_name(location text)
+        pg_xlogfile_name(location text)
         
        text
        Convert transaction log location string to file name
@@ -13568,7 +13567,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
      
       
        
-        pg_is_in_recovery()
+        pg_is_in_recovery()
         
        bool
        True if recovery is still in progress.
@@ -13576,7 +13575,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_last_xlog_receive_location()
+        pg_last_xlog_receive_location()
         
        text
        Get last transaction log location received and synced to disk by
@@ -13592,7 +13591,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_last_xlog_replay_location()
+        pg_last_xlog_replay_location()
         
        text
        Get last transaction log location replayed during recovery.
@@ -13647,13 +13646,13 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
 
      
       
-       pg_column_size(any)
+       pg_column_size(any)
        int
        Number of bytes used to store a particular value (possibly compressed)
       
       
        
-        pg_total_relation_size(regclass)
+        pg_total_relation_size(regclass)
         
        bigint
        
@@ -13663,7 +13662,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_table_size(regclass)
+        pg_table_size(regclass)
         
        bigint
        
@@ -13674,7 +13673,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_indexes_size(regclass)
+        pg_indexes_size(regclass)
         
        bigint
        
@@ -13684,35 +13683,35 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_database_size(oid)
+        pg_database_size(oid)
         
        bigint
        Disk space used by the database with the specified OID
       
       
        
-        pg_database_size(name)
+        pg_database_size(name)
         
        bigint
        Disk space used by the database with the specified name
       
       
        
-        pg_tablespace_size(oid)
+        pg_tablespace_size(oid)
         
        bigint
        Disk space used by the tablespace with the specified OID
       
       
        
-        pg_tablespace_size(name)
+        pg_tablespace_size(name)
         
        bigint
        Disk space used by the tablespace with the specified name
       
       
        
-        pg_relation_size(relation regclassfork text)
+        pg_relation_size(relation regclassfork text)
         
        bigint
        
@@ -13723,7 +13722,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_relation_size(relation regclass)
+        pg_relation_size(relation regclass)
         
        bigint
        
@@ -13732,7 +13731,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_size_pretty(bigint)
+        pg_size_pretty(bigint)
         
        text
        Converts a size in bytes into a human-readable format with size units
@@ -13816,7 +13815,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
      
       
        
-        pg_relation_filenode(relation regclass)
+        pg_relation_filenode(relation regclass)
         
        oid
        
@@ -13825,7 +13824,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
       
       
        
-        pg_relation_filepath(relation regclass)
+        pg_relation_filepath(relation regclass)
         
        text
        
@@ -13876,21 +13875,21 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
      
       
        
-        pg_ls_dir(dirname text)
+        pg_ls_dir(dirname text)
        
        setof text
        List the contents of a directory
       
       
        
-        pg_read_file(filename text, offset bigint, length bigint)
+        pg_read_file(filename text, offset bigint, length bigint)
        
        text
        Return the contents of a text file
       
       
        
-        pg_stat_file(filename text)
+        pg_stat_file(filename text)
        
        record
        Return information about a file
@@ -13950,14 +13949,14 @@ SELECT (pg_stat_file('filename')).modification;
      
       
        
-        pg_advisory_lock(key bigint)
+        pg_advisory_lock(key bigint)
        
        void
        Obtain exclusive advisory lock
       
       
        
-        pg_advisory_lock(key1 int, key2 int)
+        pg_advisory_lock(key1 int, key2 int)
        
        void
        Obtain exclusive advisory lock
@@ -13965,14 +13964,14 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_advisory_lock_shared(key bigint)
+        pg_advisory_lock_shared(key bigint)
        
        void
        Obtain shared advisory lock
       
       
        
-        pg_advisory_lock_shared(key1 int, key2 int)
+        pg_advisory_lock_shared(key1 int, key2 int)
        
        void
        Obtain shared advisory lock
@@ -13980,14 +13979,14 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_try_advisory_lock(key bigint)
+        pg_try_advisory_lock(key bigint)
        
        boolean
        Obtain exclusive advisory lock if available
       
       
        
-        pg_try_advisory_lock(key1 int, key2 int)
+        pg_try_advisory_lock(key1 int, key2 int)
        
        boolean
        Obtain exclusive advisory lock if available
@@ -13995,14 +13994,14 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_try_advisory_lock_shared(key bigint)
+        pg_try_advisory_lock_shared(key bigint)
        
        boolean
        Obtain shared advisory lock if available
       
       
        
-        pg_try_advisory_lock_shared(key1 int, key2 int)
+        pg_try_advisory_lock_shared(key1 int, key2 int)
        
        boolean
        Obtain shared advisory lock if available
@@ -14010,14 +14009,14 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_advisory_unlock(key bigint)
+        pg_advisory_unlock(key bigint)
        
        boolean
        Release an exclusive advisory lock
       
       
        
-        pg_advisory_unlock(key1 int, key2 int)
+        pg_advisory_unlock(key1 int, key2 int)
        
        boolean
        Release an exclusive advisory lock
@@ -14025,14 +14024,14 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_advisory_unlock_shared(key bigint)
+        pg_advisory_unlock_shared(key bigint)
        
        boolean
        Release a shared advisory lock
       
       
        
-        pg_advisory_unlock_shared(key1 int, key2 int)
+        pg_advisory_unlock_shared(key1 int, key2 int)
        
        boolean
        Release a shared advisory lock
@@ -14040,7 +14039,7 @@ SELECT (pg_stat_file('filename')).modification;
 
       
        
-        pg_advisory_unlock_all()
+        pg_advisory_unlock_all()
        
        void
        Release all advisory locks held by the current session
index d3ff36dfd1eeabf86ec9024429bbabde673c7697..a2a80d10a2fa680ac7188f0bb7ebac37516c5400 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Monitoring Database Activity
@@ -832,7 +832,7 @@ postgres: user database host 
 
      
        
-      pg_backend_pid()
+      pg_backend_pid()
       integer
       
        Process ID of the server process attached to the current session
@@ -904,7 +904,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_backend_idset()
+      pg_stat_get_backend_idset()
       setof integer
       
        Set of currently active server process numbers (from 1 to the
@@ -1015,7 +1015,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_bgwriter_timed_checkpoints()
+      pg_stat_get_bgwriter_timed_checkpoints()
        bigint
        
         Number of times the background writer has started timed checkpoints
@@ -1024,7 +1024,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_bgwriter_requested_checkpoints()
+      pg_stat_get_bgwriter_requested_checkpoints()
       bigint
       
        Number of times the background writer has started checkpoints based
@@ -1035,7 +1035,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_bgwriter_buf_written_checkpoints()
+      pg_stat_get_bgwriter_buf_written_checkpoints()
       bigint
       
        Number of buffers written by the background writer during checkpoints
@@ -1043,7 +1043,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_bgwriter_buf_written_clean()
+      pg_stat_get_bgwriter_buf_written_clean()
       bigint
       
        Number of buffers written by the background writer for routine cleaning of
@@ -1052,7 +1052,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_bgwriter_maxwritten_clean()
+      pg_stat_get_bgwriter_maxwritten_clean()
       bigint
       
        Number of times the background writer has stopped its cleaning scan because
@@ -1062,7 +1062,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_buf_written_backend()
+      pg_stat_get_buf_written_backend()
       bigint
       
        Number of buffers written by backends because they needed
@@ -1071,7 +1071,7 @@ postgres: user database host 
      
 
      
-      pg_stat_get_buf_alloc()
+      pg_stat_get_buf_alloc()
       bigint
       
        Total number of buffer allocations
@@ -1079,7 +1079,7 @@ postgres: user database host 
      
 
      
-      pg_stat_clear_snapshot()
+      pg_stat_clear_snapshot()
       void
       
        Discard the current statistics snapshot
@@ -1087,7 +1087,7 @@ postgres: user database host 
      
 
      
-      pg_stat_reset()
+      pg_stat_reset()
       void
       
        Reset all statistics counters for the current database to zero
index f1518250cd05101df714054ff5fc7615f846f436..7671aaa0a18a1a4e37fb706b246f6a8a5d4a6caf 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   PL/Perl - Perl Procedural Language
@@ -445,9 +445,9 @@ SELECT * FROM test_munge();
     
 
     
-     spi_query(command)
-     spi_fetchrow(cursor)
-     spi_cursor_close(cursor)
+     spi_query(command)
+     spi_fetchrow(cursor)
+     spi_cursor_close(cursor)
 
     
     
@@ -503,10 +503,10 @@ SELECT * from lotsa_md5(500);
     
 
     
-     spi_prepare(commandargument types)
-     spi_query_prepared(planarguments)
-     spi_exec_prepared(plan [, attributes], arguments)
-     spi_freeplan(plan)
+     spi_prepare(commandargument types)
+     spi_query_prepared(planarguments)
+     spi_exec_prepared(plan [, attributes], arguments)
+     spi_freeplan(plan)
 
     
     
@@ -611,7 +611,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     elog(levelmsg)
+     elog(levelmsg)
      
       
        Emit a log or error message. Possible levels are
@@ -640,7 +640,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     quote_literal(string)
+     quote_literal(string)
      
       
         Return the given string suitably quoted to be used as a string literal in an SQL
@@ -657,7 +657,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     quote_nullable(string)
+     quote_nullable(string)
      
       
         Return the given string suitably quoted to be used as a string literal in an SQL
@@ -673,7 +673,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     quote_ident(string)
+     quote_ident(string)
      
       
         Return the given string suitably quoted to be used as an identifier in
@@ -690,7 +690,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     decode_bytea(string)
+     decode_bytea(string)
      
       
         Return the unescaped binary data represented by the contents of the given string,
@@ -705,7 +705,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     encode_bytea(string)
+     encode_bytea(string)
      
       
         Return the bytea encoded form of the binary data contents of the given string.
@@ -719,8 +719,8 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     encode_array_literal(array)
-     encode_array_literal(arraydelimiter)
+     encode_array_literal(array)
+     encode_array_literal(arraydelimiter)
      
       
         Returns the contents of the referenced array as a string in array literal format
@@ -738,7 +738,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     encode_array_constructor(array)
+     encode_array_constructor(array)
      
       
         Returns the contents of the referenced array as a string in array constructor format
@@ -756,7 +756,7 @@ SELECT release_hosts_query();
       in PL/Perl
      
 
-     looks_like_number(string)
+     looks_like_number(string)
      
       
         Returns a true value if the content of the given string looks like a
index 47bb2813d68286eaf1504f7664d599d877d46539..9d72abce8f131164bc6bea3e2f97b06d532326fb 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   PostgreSQL Coding Conventions
@@ -419,7 +419,7 @@ Hint:       the addendum
 
    
     There are functions in the backend that will double-quote their own output
-    at need (for example, format_type_be()).  Do not put
+    at need (for example, format_type_be()).  Do not put
     additional quotes around the output of such functions.
    
 
index c4cf7017b05a5eb6d1f6232c227940b33e02c7b0..b978b4ce9c2d26f524e23a423e07279659c311f2 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  xml2
 
   
    Functions
-   
+   
+   
+     
+      Function
+      Returns
+      Description
+     
+    
     
      
       
-
-xml_is_well_formed(document) returns bool
-
+       
+        xml_is_well_formed(document)
+       
+      
+      
+       bool
       
       
        
@@ -61,13 +71,14 @@ xml_is_well_formed(document) returns bool
      
      
       
-
-xpath_string(document, query) returns text
-xpath_number(document, query) returns float4
-xpath_bool(document, query) returns bool
-
+        
+         xpath_string(document, query)
+        
       
       
+       text
+      
+      
        
         These functions evaluate the XPath query on the supplied document, and
         cast the result to the specified type.
@@ -76,9 +87,32 @@ xpath_bool(document, query) returns bool
      
      
       
-
-xpath_nodeset(document, query, toptag, itemtag) returns text
-
+       
+        xpath_number(document, query)
+       
+      
+      
+       float4
+      
+     
+     
+      
+       
+        xpath_bool(document, query)
+       
+      
+      
+       bool
+      
+     
+     
+      
+        
+         xpath_nodeset(document, query, toptag, itemtag)
+        
+      
+      
+       text
       
       
        
@@ -96,9 +130,12 @@ xpath_nodeset(document, query, toptag, itemtag) returns text
      
      
       
-
-xpath_nodeset(document, query) returns text
-
+        
+         xpath_nodeset(document, query)
+        
+      
+      
+       text
       
       
        
@@ -108,9 +145,12 @@ xpath_nodeset(document, query) returns text
      
      
       
-
-xpath_nodeset(document, query, itemtag) returns text
-
+        
+         xpath_nodeset(document, query, itemtag)
+        
+      
+      
+       text
       
       
        
@@ -120,9 +160,12 @@ xpath_nodeset(document, query, itemtag) returns text
      
      
       
-
-xpath_list(document, query, separator) returns text
-
+        
+         xpath_list(document, query, separator)
+        
+      
+      
+       text
       
       
        
@@ -134,9 +177,12 @@ xpath_list(document, query, separator) returns text
      
      
       
-
-xpath_list(document, query) returns text
-
+        
+         xpath_list(document, query)
+        
+      
+      
+       text
       
       
        This is a wrapper for the above function that uses ,
@@ -167,6 +213,12 @@ xpath_table(text key, text document, text relation, text xpaths, text criteria)
   
    <function>xpath_table</function> Parameters
    
+     
+     
+      Parameter
+      Description
+     
+    
     
      
       key