diff --git a/doc/src/sgml/rowtypes.sgml b/doc/src/sgml/rowtypes.sgml index bbeac84d46..0d2c1721ff 100644 --- a/doc/src/sgml/rowtypes.sgml +++ b/doc/src/sgml/rowtypes.sgml @@ -502,30 +502,6 @@ SELECT c.somefunc FROM inventory_item c; embedded in field values will be doubled. - - - Remember that what you write in an SQL command will first be interpreted - as a string literal, and then as a composite. This doubles the number of - backslashes you need (assuming escape string syntax is used). - For example, to insert a text field - containing a double quote and a backslash in a composite - value, you'd need to write: - -INSERT ... VALUES ('("\"\\")'); - - The string-literal processor removes one level of backslashes, so that - what arrives at the composite-value parser looks like - ("\"\\"). In turn, the string - fed to the text data type's input routine - becomes "\. (If we were working - with a data type whose input routine also treated backslashes specially, - bytea for example, we might need as many as eight backslashes - in the command to get one backslash into the stored composite field.) - Dollar quoting (see ) can be - used to avoid the need to double backslashes. - - - The ROW constructor syntax is usually easier to work with