Re: max length of sql select statement ?

Поиск
Список
Период
Сортировка
От markus brosch
Тема Re: max length of sql select statement ?
Дата
Msg-id 1057743944.15655.12.camel@sam
обсуждение исходный текст
Ответ на Re: max length of sql select statement ?  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: max length of sql select statement ?  (Rod Taylor <rbt@rbt.ca>)
Список 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:


http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=3B2EA1E9.843D940A%40selectacast.net&rnum=1&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3DExpression%2Btoo%2Bcomplex%253A%2Bnesting%2Bdepth%2Bexceeds%2Bmax_expr_depth%2B%253D%2B10000%26btnG%3DGoogle%2BSuche

Maybe we can disuss that problem here again?! What exactly means
"max_expr_depth"? Thanks for any help
Cheers Markus




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Rudi Starcevic"
Дата:
Сообщение: Re: Logging select statements
Следующее
От: Matthew Horoschun
Дата:
Сообщение: Re: Logging select statements