Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ba19b236
Commit
ba19b236
authored
Aug 04, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sloppy mistakes in documentation of PQescapeLiteral and PQescapeIdentifier.
Noted by Dmitriy Igrishin.
parent
72150db0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+5
-5
No files found.
doc/src/sgml/libpq.sgml
View file @
ba19b236
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.31
7 2010/07/29 19:34:40 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.31
8 2010/08/04 16:27:05 tgl
Exp $ -->
<chapter id="libpq">
<chapter id="libpq">
<title><application>libpq</application> - C Library</title>
<title><application>libpq</application> - C Library</title>
...
@@ -3107,7 +3107,7 @@ char *PQoidStatus(const PGresult *res);
...
@@ -3107,7 +3107,7 @@ char *PQoidStatus(const PGresult *res);
<listitem>
<listitem>
<para>
<para>
<synopsis>
<synopsis>
size_t PQescapeLiteral(PGconn *conn, char *str, size_t len
);
char *PQescapeLiteral(PGconn *conn, const char *str, size_t length
);
</synopsis>
</synopsis>
</para>
</para>
...
@@ -3171,12 +3171,12 @@ size_t PQescapeLiteral(PGconn *conn, char *str, size_t len);
...
@@ -3171,12 +3171,12 @@ size_t PQescapeLiteral(PGconn *conn, char *str, size_t len);
<listitem>
<listitem>
<para>
<para>
<synopsis>
<synopsis>
size_t PQescapeIdentifier(PGconn *conn, char *str, size_t len
);
char *PQescapeIdentifier(PGconn *conn, const char *str, size_t length
);
</synopsis>
</synopsis>
</para>
</para>
<para>
<para>
<function>PQescapeI
n
dentifier</function> escapes a string for
<function>PQescapeIdentifier</function> escapes a string for
use as an SQL identifier, such as a table, column, or function name.
use as an SQL identifier, such as a table, column, or function name.
This is useful when a user-supplied identifier might contain
This is useful when a user-supplied identifier might contain
special characters that would otherwise not be interpreted as part
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,7 +3438,7 @@ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length);
to a <type>bytea</type> column. <function>PQunescapeBytea</function>
to a <type>bytea</type> column. <function>PQunescapeBytea</function>
converts this string representation into its binary representation.
converts this string representation into its binary representation.
It returns a pointer to a buffer allocated with
It returns a pointer to a buffer allocated with
<function>malloc()</function>, or
null
on error, and puts the size of
<function>malloc()</function>, or
NULL
on error, and puts the size of
the buffer in <parameter>to_length</parameter>. The result must be
the buffer in <parameter>to_length</parameter>. The result must be
freed using <function>PQfreemem</> when it is no longer needed.
freed using <function>PQfreemem</> when it is no longer needed.
</para>
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment