diff options
-rw-r--r-- | doc/src/sgml/libpq++.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/libpq.sgml | 9 | ||||
-rw-r--r-- | doc/src/sgml/syntax.sgml | 22 |
3 files changed, 8 insertions, 31 deletions
diff --git a/doc/src/sgml/libpq++.sgml b/doc/src/sgml/libpq++.sgml index acbf823f818..d259206c882 100644 --- a/doc/src/sgml/libpq++.sgml +++ b/doc/src/sgml/libpq++.sgml @@ -749,14 +749,6 @@ data.endcopy(); </para> </sect1> - <sect1> - <title>Caveats</title> - - <para> - The query buffer is 8192 bytes long, and queries over that length will - be silently truncated. - </para> - </sect1> </chapter> <!-- Keep this comment at the end of the file diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index b6ba22e5678..3f9738b4626 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1958,15 +1958,6 @@ for information on correct values for these environment variables. </sect1> <sect1> -<title>Caveats</title> - -<para> - The query buffer is 8192 bytes long, and queries over - that length will be rejected. -</para> -</sect1> - -<sect1> <title>Sample Programs</title> <sect2> diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index beacf8fbdf0..08f7955df93 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -374,23 +374,17 @@ We also support C-style block comments, e.g.: <firstterm>Strings</firstterm> in SQL are arbitrary sequences of ASCII characters bounded by single quotes ("'", e.g. <literal>'This is a string'</literal>). - Uppercase alphabetics within strings are accepted - literally. Non-printing characters may be embedded within strings by - prepending them with a backslash - ("\"; e.g. "\<replaceable>tab</replaceable>". SQL92 allows single quotes to be embedded in strings by typing two - adjacent single quotes (e.g. 'Dianne''s horse'), and for - historical reasons <productname>Postgres</productname> also allows - single quotes to be escaped with a backslash - (e.g. 'Dianne\'s horse'). + adjacent single quotes (e.g. <literal>'Dianne''s horse'</literal>). + In <productname>Postgres</productname> single quotes may alternatively + be escaped with a backslash ("\", e.g. + <literal>'Dianne\'s horse'</literal>). To include a + backslash in a string constant, type two backslashes. + Non-printing characters may also be embedded within strings by + prepending them with a backslash + (e.g. <literal>'\<replaceable>tab</replaceable>'</literal>). </para> - <para> - Because of the limitations on - instance sizes, string constants are currently limited to a length of - a little less than 8192 bytes. Larger strings may be handled using the - Postgres Large Object interface. - </para> </sect2> <sect2> |