Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.455
diff -c -w -r1.455 func.sgml
*** doc/src/sgml/func.sgml	4 Nov 2008 14:49:11 -0000	1.455
--- doc/src/sgml/func.sgml	7 Nov 2008 18:31:11 -0000
***************
*** 1,4 ****
! <!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.455 2008/11/04 14:49:11 petere Exp $ -->
  
   <chapter id="functions">
    <title>Functions and Operators</title>
--- 1,4 ----
! !-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.455 2008/11/04 14:49:11 petere Exp $ -->
  
   <chapter id="functions">
    <title>Functions and Operators</title>
***************
*** 11869,11877 ****
    </para>
  
    <para>
!    <function>pg_typeof</function> returns the OID of the data type of the
     value that is passed to it.  This can be helpful for troubleshooting or
!    dynamically constructing SQL queries.
    </para>
  
     <indexterm>
--- 11869,11886 ----
    </para>
  
    <para>
!    <function>pg_typeof</function> returns the <type>regtype</> (also usable as
!    an OID; see <xref linkend="datatype-oid">) of the data type of the
     value that is passed to it. This can be helpful for troubleshooting or
!    dynamically constructing SQL queries. An example:
! <programlisting>
! SELECT select pg_typeof(33);
! 
!  pg_typeof 
! -----------
!  integer
! (1 row)
! </programlisting>
    </para>
  
     <indexterm>
