PostgreSQL hang on FreeBSD,with CFLAGS='-O2 -pthread' workaround - Mailing list pgsql-hackers

From Jov
Subject PostgreSQL hang on FreeBSD,with CFLAGS='-O2 -pthread' workaround
Date
Msg-id CADyrUxPxTrVPhQgM3d+PMcDhhdgT1ZG3UN79aj5atEdY0Cz=sA@mail.gmail.com
Whole thread Raw
Responses Re: PostgreSQL hang on FreeBSD,with CFLAGS='-O2 -pthread' workaround  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
hi~ pg hackers,
I find some problems when use pg on FreeBSD.On FreeBSD,If installed extension which pthread  lib is used,for example plv8,pljava,imcs etc,when query touch these extenstions,the PG backend will hang.

there is a solution,which configure postgresql with CFLAGS='-O2 -pthread' and compile pg from source ,then install the extension.But this solution is not offical documented and not easy to use(you must compile pg from source).It  may make some extension developers or user waste much time to solve it,and make people complain that PG or FreeBSD not stable.

Is it a PG problem and can we fix it? 

I will also report this to the FreeBSD mail list.  

ref:



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] CLOB & BLOB limitations in PostgreSQL
Next
From: Kouhei Kaigai
Date:
Subject: Re: Custom Scan APIs (Re: Custom Plan node)