Re: stack depth limit exceeded - patch possible?

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Alexander Wöhrer <woehrer(at)par(dot)univie(dot)ac(dot)at>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: stack depth limit exceeded - patch possible?
Date: 2008-04-12 21:03:30
Message-ID: 87od8edbvh.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alexander Wöhrer <woehrer(at)par(dot)univie(dot)ac(dot)at> writes:

> Dear Gregory,
>
> Thank you very much for you fast answer and your tips.
> What is meant by IIUC?

"if I understand correctly"

> Actually just one thread is accessing the database - the two others do
> send/recieve data.

Then in theory it should work. But as I mention other people have run into a
number of problems with threads in the backend.

> I will try my luck anyway and try to built PostGre 8.3 without
> check_stack_depth doing anything - will let you know what happens for my
> application.

I'm a bit confused why check_stack_depth matters if you're calling the
Postgres code from the original thread which called Java. If you're not in the
same thread as Postgres then you're still going to be in trouble.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's 24x7 Postgres support!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-12 22:04:28 Re: stack depth limit exceeded - patch possible?
Previous Message Alexander Wöhrer 2008-04-12 20:36:36 Re: stack depth limit exceeded - patch possible?