[Pljava-dev] stack depth limit exceeded - patch possible?

From: woehrer at par(dot)univie(dot)ac(dot)at ( Alexander Wöhrer )
To:
Subject: [Pljava-dev] stack depth limit exceeded - patch possible?
Date: 2008-04-12 18:51:05
Message-ID: 48010499.30000@par.univie.ac.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pljava-dev

Dear PL/Java Team,

I'm working on Windows XP SP2 (stack limit 3500 kb) and deployed
successfully my application (doing some external Web service calling)
inside PostGre 8.3.0.

Unfortunatelly, the application needs at least 3 Threads and will run
for quite some time.

I found this comment

http://pgfoundry.org/pipermail/pljava-dev/2005/000491.html

by Thomas Hallgren where he mentioned that PostGre only defines
one stack and therefor pl/java has no way of telling PostGre
about multiple thread stack pointers.

As far as I understand the situation, the check_stack_depth()
is used "just" to provide better stability/security?

I'm not concerned about stability at all - just want to get
my things run for a proof-of-concept research prototype :)

My question is now if there is a patched version available of PostGre
8.3.0 having this stack_depth check disabled?
If so I would be very glad if you can point me to!

If not, can you tell me if

void check_stack_depth(void) in \src\backend\tcop\postgres.c

is the only place where to change something
(in my case just do nothing or report a warning)?

My C developer times are long gone but I would try to make a patch
myself.

Regards,

Alexander

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Wöhrer 2008-04-12 18:56:13 stack depth limit exceeded - patch possible?
Previous Message Dawid Kuroczko 2008-04-12 18:19:39 Re: Cached Query Plans (was: global prepared statements)

Browse pljava-dev by date

  From Date Subject
Next Message Kris Jurka 2008-04-13 14:25:54 Re: [Pljava-dev] stack depth limit exceeded - patch possible?
Previous Message Tom Dunstan 2008-04-11 11:47:40 [Pljava-dev] Focus of the PL-Java Project