Re: are there any cons to linking libstdc++ with

From: Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>
To: Palle Girgensohn <girgen(at)pingpong(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: are there any cons to linking libstdc++ with
Date: 2004-11-18 11:04:10
Message-ID: 20041118110410.GA6524@robin.ip.net.ua
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 18, 2004 at 04:17:31AM +0100, Palle Girgensohn wrote:
> Does the same arguments apply for linking with libc_r (pthreads)?
>
> It is needed by plpython, at least on FreeBSD 4.10 (probably all versions).

There are problem with libc_r on FreeBSD: due to initializing
of red zone for initial thread's stack, postgresql stack gets limited
to just 1M.

There are patch in queue for increasing initial stack to 8/32/xxxM, but
official reaction was: "create new thread with right stack size and use
it for main loop"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Reini Urban 2004-11-18 12:06:54 Re: are there any cons to linking libstdc++ with postgresql?
Previous Message Premsun Choltanwanich 2004-11-18 10:45:12 How to make lo_import and lo_export to use file on client local machine?