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
55103553
Commit
55103553
authored
Aug 01, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--enable-thread-safeness -> --enable-thread-safety
parent
6ed071bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
configure
configure
+7
-7
configure.in
configure.in
+8
-8
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+2
-2
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+2
-2
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+2
-2
No files found.
configure
View file @
55103553
...
...
@@ -855,7 +855,7 @@ Optional Packages:
--with-libraries=DIRS look for additional libraries in DIRS
--with-libs=DIRS alternative spelling of --with-libraries
--with-pgport=PORTNUM change default port number 5432
--enable-thread-safe
ness
allow libpq and ecpg to be thread-safe
--enable-thread-safe
ty
allow libpq and ecpg to be thread-safe
--with-tcl build Tcl and Tk interfaces
--without-tk do not build Tk interfaces if Tcl is enabled
--with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR
...
...
@@ -2811,7 +2811,7 @@ done
IFS
=
$ac_save_IFS
#
# Enable libpq to be thread-safe
ness
# Enable libpq to be thread-safe
ty
#
echo
"
$as_me
:
$LINENO
: checking allow thread-safe libpq and ecpg"
>
&5
echo
$ECHO_N
"checking allow thread-safe libpq and ecpg...
$ECHO_C
"
>
&6
...
...
@@ -2846,8 +2846,8 @@ else
fi
;
echo
"
$as_me
:
$LINENO
: result:
$enable_thread_safe
ness
"
>
&5
echo
"
${
ECHO_T
}
$enable_thread_safe
ness
"
>
&6
echo
"
$as_me
:
$LINENO
: result:
$enable_thread_safe
ty
"
>
&5
echo
"
${
ECHO_T
}
$enable_thread_safe
ty
"
>
&6
#
...
...
@@ -12987,7 +12987,7 @@ fi
# For each platform, we need to know about any special compile and link
# libraries, and whether the normal C function names are thread-safe.
#
if
test
"
$enable_thread_safe
ness
"
=
yes
;
then
if
test
"
$enable_thread_safe
ty
"
=
yes
;
then
if
test
"
${
ac_cv_header_pthread_h
+set
}
"
=
set
;
then
echo
"
$as_me
:
$LINENO
: checking for pthread.h"
>
&5
echo
$ECHO_N
"checking for pthread.h...
$ECHO_C
"
>
&6
...
...
@@ -13129,7 +13129,7 @@ fi
# One trick here is that if we don't call AC_CHECK_FUNCS, the
# functions are marked "not found", which is perfect.
#
if
test
"
$enable_thread_safe
ness
"
=
yes
-a
"
$NEED_REENTRANT_FUNC_NAMES
"
=
yes
;
then
if
test
"
$enable_thread_safe
ty
"
=
yes
-a
"
$NEED_REENTRANT_FUNC_NAMES
"
=
yes
;
then
_CFLAGS
=
"
$CFLAGS
"
_LIB
=
"
$LIBS
"
CFLAGS
=
"
$CFLAGS
$TREAD_CFLAGS
"
...
...
@@ -17987,7 +17987,7 @@ s,@CPP@,$CPP,;t t
s,@GCC@,
$GCC
,;t t
s,@autodepend@,
$autodepend
,;t t
s,@INCLUDES@,
$INCLUDES
,;t t
s,@enable_thread_safe
ness@,
$enable_thread_safeness
,;t t
s,@enable_thread_safe
ty@,
$enable_thread_safety
,;t t
s,@with_tcl@,
$with_tcl
,;t t
s,@with_tk@,
$with_tk
,;t t
s,@with_perl@,
$with_perl
,;t t
...
...
configure.in
View file @
55103553
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.27
0 2003/07/23 23:30:40 tgl
Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.27
1 2003/08/01 03:10:03 momjian
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -320,14 +320,14 @@ done
IFS=$ac_save_IFS
#
# Enable libpq to be thread-safe
ness
# Enable libpq to be thread-safe
ty
#
AC_MSG_CHECKING([allow thread-safe libpq and ecpg])
PGAC_ARG_BOOL(with, threads, no, [ --enable-thread-safe
ness
allow libpq and ecpg to be thread-safe],
[AC_DEFINE([USE_THREADS], 1, [Define to 1 to build libpq and ecpg to be thread-safe. (--enable-thread-safe
ness
)])])
PGAC_ARG_BOOL(with, threads, no, [ --enable-thread-safe
ty
allow libpq and ecpg to be thread-safe],
[AC_DEFINE([USE_THREADS], 1, [Define to 1 to build libpq and ecpg to be thread-safe. (--enable-thread-safe
ty
)])])
AC_MSG_RESULT([$enable_thread_safe
ness
])
AC_SUBST(enable_thread_safe
ness
)
AC_MSG_RESULT([$enable_thread_safe
ty
])
AC_SUBST(enable_thread_safe
ty
)
#
# Tcl/Tk
...
...
@@ -965,7 +965,7 @@ AC_FUNC_FSEEKO
# For each platform, we need to know about any special compile and link
# libraries, and whether the normal C function names are thread-safe.
#
if test "$enable_thread_safe
ness
" = yes; then
if test "$enable_thread_safe
ty
" = yes; then
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --with-threads])])
if test "$SUPPORTS_THREADS" != yes; then
...
...
@@ -991,7 +991,7 @@ AC_SUBST(THREAD_LIBS)
# One trick here is that if we don't call AC_CHECK_FUNCS, the
# functions are marked "not found", which is perfect.
#
if test "$enable_thread_safe
ness
" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
if test "$enable_thread_safe
ty
" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
_CFLAGS="$CFLAGS"
_LIB="$LIBS"
CFLAGS="$CFLAGS $TREAD_CFLAGS"
...
...
doc/src/sgml/ecpg.sgml
View file @
55103553
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.4
5 2003/07/23 17:27:28
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.4
6 2003/08/01 03:10:04
momjian Exp $
-->
<chapter id="ecpg">
...
...
@@ -751,7 +751,7 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>;
<para>
<application>ecpg</application> is thread-safe if it is compiled using
the <literal>--enable-thread-safe
ness
</> <filename>configure</filename>
the <literal>--enable-thread-safe
ty
</> <filename>configure</filename>
command-line option. (You might need to use other threading
command-line options to compile your client code.)
</para>
...
...
doc/src/sgml/installation.sgml
View file @
55103553
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.13
6 2003/07/23 17:27:28
momjian Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.13
7 2003/08/01 03:10:04
momjian Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
...
...
@@ -915,7 +915,7 @@ JAVACMD=$JAVA_HOME/bin/java
</varlistentry>
<varlistentry>
<term><option>--enable-thread-safe
ness
</option></term>
<term><option>--enable-thread-safe
ty
</option></term>
<listitem>
<para>
Allow separate libpq and ecpg threads to safely control their
...
...
doc/src/sgml/libpq.sgml
View file @
55103553
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.1
29 2003/07/26 13:50:01
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.1
30 2003/08/01 03:10:04
momjian Exp $
-->
<chapter id="libpq">
...
...
@@ -3322,7 +3322,7 @@ If the permissions are less strict than this, the file will be ignored.
<para>
<application>libpq</application> is thread-safe if the library is
compiled using <filename>configure</filename>'s
<literal>--enable-thread-safe
ness
</> command-line option.
<literal>--enable-thread-safe
ty
</> command-line option.
(In addition, you might need to use other threading command-line
options to compile your client code.)
</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