Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#16741 - [postgresql-libs] isn't compiled as thread safe

Attached to Project: Arch Linux
Opened by Marc Cousin (cousinm) - Monday, 19 October 2009, 16:53 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 11 February 2010, 03:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


postgresql-libs should be compiled with --enable-thread-safety
Some programs such as bacula for instance need it for good performance.

Here's the proposed patch (tested here).

--- org/postgresql-libs/PKGBUILD 2009-10-19 16:49:19.000000000 +0000
+++ postgresql-libs/PKGBUILD 2009-10-19 16:30:05.000000000 +0000
@@ -17,7 +17,7 @@
# configure
./configure --prefix=/usr --with-openssl --datadir=/usr/share/postgresql \
- --with-pam \
+ --with-pam --enable-thread-safety \
|| return 1
# make and install

Additional info:
* package version(s)
postgresql-libs 8.4.1-1

Steps to reproduce:
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Thursday, 11 February 2010, 03:05 GMT
Reason for closing:  Implemented
Comment by Laszlo Papp (djszapi) - Saturday, 07 November 2009, 14:47 GMT
Like djgera asked from me earlier: "Next time please attach the file instead of pasting it. Thanks." :)