|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.317 2010/07/29 19:34:40 petere Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.318 2010/08/04 16:27:05 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="libpq">
|
4 | 4 | <title><application>libpq</application> - C Library</title>
|
@@ -3107,7 +3107,7 @@ char *PQoidStatus(const PGresult *res);
|
3107 | 3107 | <listitem>
|
3108 | 3108 | <para>
|
3109 | 3109 | <synopsis>
|
3110 |
| -size_tPQescapeLiteral(PGconn *conn, char *str, size_tlen); |
| 3110 | +char *PQescapeLiteral(PGconn *conn,constchar *str, size_tlength); |
3111 | 3111 | </synopsis>
|
3112 | 3112 | </para>
|
3113 | 3113 |
|
@@ -3171,12 +3171,12 @@ size_t PQescapeLiteral(PGconn *conn, char *str, size_t len);
|
3171 | 3171 | <listitem>
|
3172 | 3172 | <para>
|
3173 | 3173 | <synopsis>
|
3174 |
| -size_tPQescapeIdentifier(PGconn *conn, char *str, size_tlen); |
| 3174 | +char *PQescapeIdentifier(PGconn *conn,constchar *str, size_tlength); |
3175 | 3175 | </synopsis>
|
3176 | 3176 | </para>
|
3177 | 3177 |
|
3178 | 3178 | <para>
|
3179 |
| - <function>PQescapeIndentifier</function> escapes a string for |
| 3179 | + <function>PQescapeIdentifier</function> escapes a string for |
3180 | 3180 | use as an SQL identifier, such as a table, column, or function name.
|
3181 | 3181 | This is useful when a user-supplied identifier might contain
|
3182 | 3182 | special characters that would otherwise not be interpreted as part
|
@@ -3438,7 +3438,7 @@ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length);
|
3438 | 3438 | to a <type>bytea</type> column. <function>PQunescapeBytea</function>
|
3439 | 3439 | converts this string representation into its binary representation.
|
3440 | 3440 | It returns a pointer to a buffer allocated with
|
3441 |
| - <function>malloc()</function>, ornull on error, and puts the size of |
| 3441 | + <function>malloc()</function>, orNULL on error, and puts the size of |
3442 | 3442 | the buffer in <parameter>to_length</parameter>. The result must be
|
3443 | 3443 | freed using <function>PQfreemem</> when it is no longer needed.
|
3444 | 3444 | </para>
|
|