It looks like the threads USE flag was removed a few months ago from the 8.1 ebuild: http://overlays.gentoo.org/proj/postgresql/changeset/63 http://www.mail-archive.com/gentoo-server@lists.gentoo.org/msg02412.html Whilst postgresql itself is not multi-threaded, last time I checked ecpg was and is not thread safe unless the thread-safety configure switch is used (eg. see http://archives.postgresql.org/pgsql-novice/2004-09/msg00158.php ). ecpg is still part of the postgresql package so unless the defaults have changed recently the configure flag is still necessary.
Hmm, has been fixed some time months ago.
Created attachment 123701 [details, diff] postgresql-8.2.4-r1.ebuild.patch When? It appears not.. and I don't see any changes to the ebuild: > checking allow thread-safe client libraries... no Attached a patch for 8.2.4-r1. It just reverts the old commit that changed the enable threads behaviour.
Re-opening. Feel free to close if I'm wrong.
dev-db/postgresql-base contains ecpg and has the threads USE-flag.