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
98bf0044
Commit
98bf0044
authored
Aug 04, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add USE_THREADS, used by ecpg.
parent
c45b851e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
configure
configure
+5
-1
configure.in
configure.in
+3
-2
src/include/pg_config.h.in
src/include/pg_config.h.in
+4
-0
No files found.
configure
View file @
98bf0044
...
...
@@ -2785,7 +2785,11 @@ if test "${enable_thread_safety+set}" = set; then
case
$enableval
in
yes
)
:
cat
>>
confdefs.h
<<
\
_ACEOF
#define USE_THREADS 1
_ACEOF
;;
no
)
:
...
...
configure.in
View file @
98bf0044
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.27
5 2003/08/04 16:48:03
momjian Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.27
6 2003/08/04 21:26:26
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -314,7 +314,8 @@ IFS=$ac_save_IFS
# Enable libpq to be thread-safety
#
AC_MSG_CHECKING([allow thread-safe libpq and ecpg])
PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety allow libpq and ecpg to be thread-safe])
PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety 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-safety)])])
AC_MSG_RESULT([$enable_thread_safety])
AC_SUBST(enable_thread_safety)
...
...
src/include/pg_config.h.in
View file @
98bf0044
...
...
@@ -600,6 +600,10 @@
/* Define to select SysV-style shared memory. */
#undef USE_SYSV_SHARED_MEMORY
/* Define to 1 to build libpq and ecpg to be thread-safe.
(--enable-thread-safety) */
#undef USE_THREADS
/* Define to select unnamed POSIX semaphores. */
#undef USE_UNNAMED_POSIX_SEMAPHORES
...
...
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