From: | markus brosch <brosch(at)gmx(dot)de> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | mallah(at)trade-india(dot)com, pgsql-sql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: max length of sql select statement ? |
Date: | 2003-07-09 09:45:44 |
Message-ID: | 1057743944.15655.12.camel@sam |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Mon, 2003-07-07 at 18:20, Rod Taylor wrote:
> > Could be a solution?!
> > The question is - how long could the IN be?
>
> I'm not sure about IN specifically, but I know you can do:
> SELECT * FROM table WHERE col = '<1GB long file>';
> It tends not to be friendly for Ram though :)
Hi again!
After I decided to use this statement (discussion two days ago!):
SELECT * FROM table WHERE columnX IN ('a', 'b', 'c', 'd', 'e', ... );
I got this error :-(((
java.sql.SQLException: ERROR: Expression too complex: nesting depth
exceeds max_expr_depth = 10000
I was searching the web and only found this discussion:
Maybe we can disuss that problem here again?! What exactly means
"max_expr_depth"? Thanks for any help
Cheers Markus
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew Horoschun | 2003-07-09 09:56:15 | Re: Logging select statements |
Previous Message | Rudi Starcevic | 2003-07-09 09:06:46 | Re: Logging select statements |