Index: doc/src/sgml/datatype.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/datatype.sgml,v
retrieving revision 1.139
diff -c -r1.139 datatype.sgml
*** doc/src/sgml/datatype.sgml 21 Dec 2003 04:34:35 -0000 1.139
--- doc/src/sgml/datatype.sgml 9 Jan 2004 08:58:54 -0000
***************
*** 437,464 ****
other SQL database systems.
-
-
- If you have a column of type smallint or
- bigint with an index, you may encounter problems
- getting the system to use that index. For instance, a clause of
- the form
-
- ... WHERE smallint_column = 42
-
- will not use an index, because the system assigns type
- integer to the constant 42, and
- PostgreSQL currently
- cannot use an index when two different data types are involved. A
- workaround is to single-quote the constant, thus:
-
- ... WHERE smallint_column = '42'
-
- This will cause the system to delay type resolution and will
- assign the right type to the constant.
-
-
-
--- 437,442 ----