list limit for IN predicate?

Поиск
Список
Период
Сортировка
От Dennis Roesler
Тема list limit for IN predicate?
Дата
Msg-id 36CC22D4.C4C8A121@am.exch.hp.com
обсуждение исходный текст
Список pgsql-hackers
Does anyone know what the maximum number of items there can be in a list
for the IN predicate.  I have a maintenance script that extracts
information from one dB, builds a list for the IN predicate, connects to
a different dB, and runs a query based on the list generated.  In one
instance the list that was built had ~450 items in the list, which
crashed the server.

Is it a matter of the size of the list in characters and not items in
the list?  The whole list, including the quotes around the items in the
list, commas, etc. was ~5k characters.

Thanks

Dennis

---------------------------------------------------------------------------


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Transaction logging
Следующее
От: Douglas.Inkster@cai.com (Inkster, Douglas)
Дата:
Сообщение: RE: list limit for IN predicate?