Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.392
diff -c -r1.392 func.sgml
*** doc/src/sgml/func.sgml 31 Aug 2007 21:33:48 -0000 1.392
--- doc/src/sgml/func.sgml 1 Sep 2007 17:09:45 -0000
***************
*** 2929,2942 ****
! Note that the backslash already has a special meaning in string
! literals, so to write a pattern constant that contains a backslash
! you must write two backslashes in an SQL statement (assuming escape
! string syntax is used). Thus, writing a pattern
! that actually matches a literal backslash means writing four backslashes
! in the statement. You can avoid this by selecting a different escape
! character with ESCAPE; then a backslash is not special
! to LIKE anymore. (But it is still special to the string
literal parser, so you still need two of them.)
--- 2929,2942 ----
! Note that the backslash already has a special meaning in string literals,
! so to write a pattern constant that contains a backslash you must write two
! backslashes in an SQL statement (assuming escape string syntax is used, see
! ). Thus, writing a pattern that
! actually matches a literal backslash means writing four backslashes in the
! statement. You can avoid this by selecting a different escape character
! with ESCAPE; then a backslash is not special to
! LIKE anymore. (But it is still special to the string
literal parser, so you still need two of them.)
***************
*** 3549,3555 ****
meaning in PostgreSQL> string literals.
To write a pattern constant that contains a backslash,
you must write two backslashes in the statement, assuming escape
! string syntax is used.
--- 3549,3555 ----
meaning in PostgreSQL> string literals.
To write a pattern constant that contains a backslash,
you must write two backslashes in the statement, assuming escape
! string syntax is used (see ).