Threaded Python on BSD ...

From: Hans-Juergen Schoenig <postgres(at)cybertec(dot)at>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Threaded Python on BSD ...
Date: 2007-07-09 09:51:48
Message-ID: 6AF2A2CD-6150-42AA-B9DA-801C8B6692F9@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hello all ...

does anybody remember why threaded python is not allowed on some
flavors of BSD?
i was surprised to read this in the configure script ...

# threaded python is not supported on bsd's
echo "$as_me:$LINENO: checking whether Python is compiled with thread
support" >&5
echo $ECHO_N "checking whether Python is compiled with thread
support... $ECHO_C" >&6
pythreads=`${PYTHON} -c "import sys; print int('thread' in
sys.builtin_module_names)"`
if test "$pythreads" = "1"; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
case $host_os in
openbsd*|freebsd*)
{ { echo "$as_me:$LINENO: error: threaded Python not supported
on this platform" >&5
echo "$as_me: error: threaded Python not supported on this platform"
>&2;}
{ (exit 1); exit 1; }; }

is there an issue with BSD itself or is it just a matter of linking
the backend against pthreads?
the problem is that this is a bit of a showstopper for skytools on
BSD ...

many thanks,

hans

--
Cybertec Geschwinde & Schönig GmbH
Gröhrmühlgasse 26, 2700 Wiener Neustadt
Tel: +43/1/205 10 35 / 340
www.postgresql.at, www.cybertec.at

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message alexander lunyov 2007-07-09 10:06:34 russian case-insensitive regexp search not working
Previous Message Heikki Linnakangas 2007-07-09 09:46:50 Re: Implementation of new operators inside the PostgreSQL