Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5dd5bf

Browse files
committed
Add mention to run thread test program if user is experiencing problems
with threaded applications.
1 parentf6646ef commitf5dd5bf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.151 2004/04/20 01:11:49 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.152 2004/04/24 00:14:28 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3623,7 +3623,9 @@ If the permissions are less strict than this, the file will be ignored.
36233623
addition, you might need to use additional compiler command-line
36243624
options when you compile your application code. Refer to your
36253625
system's documentation for information about how to build
3626-
thread-enabled applications.
3626+
thread-enabled applications, or look in
3627+
<filename>src/Makefile.global</filename> for <literal>PTHREAD_CFLAGS</>
3628+
and <literal>PTHREAD_LIBS</>.
36273629
</para>
36283630

36293631
<para>
@@ -3674,6 +3676,14 @@ its own <literal>SIGPIPE</> signal handler, it should call
36743676
<literal>SIGPIPE</> signal. This function is available in both
36753677
thread-safe and non-thread-safe versions of <application>libpq</>.
36763678
</para>
3679+
3680+
<para>
3681+
If you experience problems with threaded applications, run
3682+
the program in <filename>src/tools/thread</> to see if your
3683+
platform has thread-unsafe functions. This program is run
3684+
by <filename>configure</filename>, but for binary distributions
3685+
your library might not match the library used to build the binaries.
3686+
</para>
36773687
</sect1>
36783688

36793689

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp