diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-08-15 03:00:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-08-15 03:00:59 +0000 |
commit | 1276356268bb99507d7d54f80540b8e0835c026b (patch) | |
tree | 66a96060df1769e491433f6f0c368eb50596546f /doc/src | |
parent | 88bd306832f476987cf8166e8095756a5986d38b (diff) | |
download | postgresql-1276356268bb99507d7d54f80540b8e0835c026b.tar.gz postgresql-1276356268bb99507d7d54f80540b8e0835c026b.zip |
PostgreSQL 7.2.1 Documentation
Chapter 1. libpq - C Library
1.3. Command Execution Functions
1.3.3. Escaping binary strings for inclusion in SQL queries
I found the line
"The result string length does not include the terminating zero byte of the result."
is not right.
The result string length does indeed include the terminating zero byte.
Christoph Haller
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index f1cb03f8871..ca2d7e45e1b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.91 2002/08/15 02:56:19 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.92 2002/08/15 03:00:59 momjian Exp $ --> <chapter id="libpq"> @@ -942,8 +942,8 @@ strings overlap. characters in this binary string (a terminating zero byte is neither necessary nor counted). The <parameter>to_length</parameter> parameter shall point to a buffer suitable to hold the resultant - escaped string length. The result string length does not - include the terminating zero byte of the result. + escaped string length. The result string length includes the terminating + zero byte of the result. </para> <para> |