Thread safety and libxml2 - Mailing list pgsql-hackers

From Greg Smith
Subject Thread safety and libxml2
Date
Msg-id 4B3B9409.4010201@2ndquadrant.com
Whole thread Raw
Responses Re: Thread safety and libxml2  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
We got an interesting report on the testers list today:

http://archives.postgresql.org/pgsql-testers/2009-12/msg00000.php

Basically, configure failed on their OpenBSD system because thread 
safety is on but the libxml2 wasn't compiled with threaded support:  
http://xmlsoft.org/threads.html

Disabling either feature (no --with-libxml or --disable-thread-safety) 
gives a working build.

I wonder if it's worthwhile to document this coupling between thread 
safety and libxml2 in either 
http://developer.postgresql.org/pgdocs/postgres/install-procedure.html 
or even the release notes.  It seems quite likely to bite someone else 
again the future.

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PATCH: Add hstore_to_json()
Next
From: "David E. Wheeler"
Date:
Subject: Re: PATCH: Add hstore_to_json()