agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] stack depth limit exceeded - patch possible?
Date: Sat, 12 Apr 2008 20:51:05 +0200
Message-ID: <48010499.30000@par.univie.ac.at> (raw)

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




view thread (11+ messages)  latest in thread

Message-ID: <48010499.30000@par.univie.ac.at>
Permalink:  ../48010499.30000@par.univie.ac.at/
Also on:    postgresql.org/message-id/48010499.30000@par.univie.ac.at

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] stack depth limit exceeded - patch possible?
  In-Reply-To: <48010499.30000@par.univie.ac.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox