aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-11-10 00:14:22 +0000
committerBruce Momjian <bruce@momjian.us>2002-11-10 00:14:22 +0000
commit4ca28eb7c72e65e1a4f3a4e6b7d35a56e2b69d5c (patch)
tree06f85e9c602f422305c5109c0ae2bf8e5a35bb6a /doc/src
parent3eabc4490ecbf6b9845917811cf930af41aff845 (diff)
downloadpostgresql-4ca28eb7c72e65e1a4f3a4e6b7d35a56e2b69d5c.tar.gz
postgresql-4ca28eb7c72e65e1a4f3a4e6b7d35a56e2b69d5c.zip
I just discovered, that there is missing a const when passing a buffer
to PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a usable diff (I'm not so familar to diff). Tommi M?kitalo
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/libpq.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index d805b31378b..3714f7675a7 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.99 2002/11/08 05:03:11 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.100 2002/11/10 00:14:22 momjian Exp $
-->
<chapter id="libpq">
@@ -926,7 +926,7 @@ strings overlap.
<function>PQescapeBytea</function>
Escapes a binary string (<type>bytea</type> type) for use within an SQL query.
<synopsis>
- unsigned char *PQescapeBytea(unsigned char *from,
+ unsigned char *PQescapeBytea(const unsigned char *from,
size_t from_length,
size_t *to_length);
</synopsis>
@@ -970,7 +970,7 @@ strings overlap.
Converts an escaped string representation of binary data into binary
data - the reverse of <function>PQescapeBytea</function>.
<synopsis>
- unsigned char *PQunescapeBytea(unsigned char *from, size_t *to_length);
+ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length);
</synopsis>
The <parameter>from</parameter> parameter points to an escaped string