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
400fb19a
Commit
400fb19a
authored
May 28, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that forking while having open libpq connections is not
advised.
parent
2e6107cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+11
-1
No files found.
doc/src/sgml/libpq.sgml
View file @
400fb19a
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.28
8 2009/04/27 16:27:36
momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.28
9 2009/05/28 20:02:10
momjian Exp $ -->
<chapter id="libpq">
<chapter id="libpq">
<title><application>libpq</application> - C Library</title>
<title><application>libpq</application> - C Library</title>
...
@@ -64,6 +64,16 @@
...
@@ -64,6 +64,16 @@
whether a connection was successfully made before queries are sent
whether a connection was successfully made before queries are sent
via the connection object.
via the connection object.
<warning>
<para>
On Unix, forking a process with open libpq connections can lead to
unpredictable results because the parent and child processes share
the same sockets and operating system resources. For this reason,
such usage is not recommended, though doing an <function>exec</> from
the child process to load a new executable is safe.
</para>
</warning>
<note>
<note>
<para>
<para>
On Windows, there is a way to improve performance if a single
On Windows, there is a way to improve performance if a single
...
...
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