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 **** ! Functions and Operators --- 1,4 ---- ! !-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.455 2008/11/04 14:49:11 petere Exp $ --> Functions and Operators *************** *** 11869,11877 **** ! pg_typeof 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. --- 11869,11886 ---- ! pg_typeof returns the regtype (also usable as ! an OID; see ) 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: ! ! SELECT select pg_typeof(33); ! ! pg_typeof ! ----------- ! integer ! (1 row) !