Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is the limit on the number of elements in the IN clause of  SELECT

Posted on 2010-08-15
3
Medium Priority
?
1,435 Views
Last Modified: 2012-05-10
HI

Is there any limit to the number of elements in the IN clause of  SELECT in Postgres ?

Thanks
0
Comment
Question by:elimesika
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Expert Comment

by:McNetic
ID: 33444896
I can't give the real answer, but several thousand entries should work.
0
 
LVL 19

Accepted Solution

by:
elimesika earned 0 total points
ID: 33462674
After exploring , it is not limited , so you can handle theoretically any number of values as long as it not pass the string max size (4GB)

 
0
 
LVL 1

Expert Comment

by:Zoniac
ID: 33473258
Check whether this answers:

http://stackoverflow.com/questions/1009706/postgresql-max-number-of-parameters-in-in-clause

> After exploring , it is not limited , so you can handle theoretically  any number of values as long > as it not pass the string max size (4GB)
Also, can you share the web link for this answer?

0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Best database to use for Maps is PostgreSQL. This is an open source database. Comes as a package with most Linux OS. For more info visit the following site: http://www.postgresql.org/ (http://www.postgresql.org/) This requires some add-o…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question