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
e3285f32
Commit
e3285f32
authored
Feb 19, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PQfree() documentation to be clearer, backpatch to 8.2.X.
parent
4acc4aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+8
-4
No files found.
doc/src/sgml/libpq.sgml
View file @
e3285f32
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.23
1 2007/02/16 16:37:29 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.23
2 2007/02/19 22:06:23 momjian
Exp $ -->
<chapter id="libpq">
<chapter id="libpq">
<title><application>libpq</application> - C Library</title>
<title><application>libpq</application> - C Library</title>
...
@@ -2617,9 +2617,13 @@ void PQfreemem(void *ptr);
...
@@ -2617,9 +2617,13 @@ void PQfreemem(void *ptr);
<function>PQescapeBytea</function>,
<function>PQescapeBytea</function>,
<function>PQunescapeBytea</function>,
<function>PQunescapeBytea</function>,
and <function>PQnotifies</function>.
and <function>PQnotifies</function>.
It is needed by Microsoft Windows, which cannot free memory across
It is particularly important that this function, rather than
DLLs, unless multithreaded DLLs (<option>/MD</option> in VC6) are used.
<function>free()</>, be used on Microsoft Windows. This is because
On other platforms, this function is the same as the standard library function <function>free()</>.
allocating memory in a DLL and releasing it in the application works
only if multithreaded/single-threaded, release/debug, and static/dynamic
flags are the same for the DLL and the application. On non-Microsoft
Windows platforms, this function is the same as the standard library
function <function>free()</>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
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