Thread safety and libxml2

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Thread safety and libxml2
Date: 2009-12-30 17:55:21
Message-ID: 4B3B9409.4010201@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndQuadrant(dot)com www.2ndQuadrant.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2009-12-30 17:59:43 Re: PATCH: Add hstore_to_json()
Previous Message Robert Haas 2009-12-30 17:53:23 Re: PATCH: Add hstore_to_json()