Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Re: Problem wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 8 Topic 1927 of 2028
Post > Topic >>

Re: Problem with very big queries.

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 10, 2008 at 07:20 PM

Panagiotis Papadakos <papadako@[EMAIL PROTECTED]
> writes:
> I want to send to postgresql-8.0 a very big query,
> select * from table where lala IN (....)
> Inside IN there are almost 60000 values.

> Unfortunately, the server terminates with a singal 11 and I get
> to my console the following:

It shouldn't crash.  I suspect you tried this, got

ERROR:  stack depth limit exceeded
HINT:  Increase the configuration parameter "max_stack_depth".

and blindly followed the HINT without any regard for whether the value
you picked was actually safe on your platform.  If you make
max_stack_depth bigger than what the kernel allows, you will indeed
get a crash; but that's not a bug it's pilot error.

More recent PG versions try to limit max_stack_depth to a safe value,
but 8.0 just believes what you tell it.

			regards, tom lane

-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 8 Posts in Topic:
Problem with very big queries.
papadako@[EMAIL PROTECTED  2008-04-11 01:52:43 
Re: Problem with very big queries.
papadako@[EMAIL PROTECTED  2008-04-11 02:10:37 
Re: Problem with very big queries.
tgl@[EMAIL PROTECTED] (T  2008-04-10 19:22:30 
Re: Problem with very big queries.
papadako@[EMAIL PROTECTED  2008-04-11 02:27:33 
Re: Problem with very big queries.
tgl@[EMAIL PROTECTED] (T  2008-04-10 19:20:51 
Re: Problem with very big queries.
papadako@[EMAIL PROTECTED  2008-04-11 02:29:49 
Re: Problem with very big queries.
davec@[EMAIL PROTECTED]   2008-04-10 19:04:42 
Re: Problem with very big queries.
pierce@[EMAIL PROTECTED]   2008-04-10 16:52:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 6:48:38 CDT 2008.