News for hackers. Stuff that matters.
Re:Introducing Ghost 2.0 by phaas on Tuesday August 21, 2018 @10:00PM (#17815647)
I discovered a similar limit with postgresql, mainly due to the protocol sending the query length as a 16-bit number, limiting the total length to ~65k characters. In that case it was far better to create a temporary table and JOIN that rather than using an " IN (..)" clause anyway, so that's another option if SQLite supports it.
Re:Introducing Ghost 2.0 by anarazel on Wednesday August 22, 2018 @01:40AM (#17816580)
There's no 16bit number limiting query length in PG, the limit is 1GB and has been for a LONG time. But it's indeed often a good idea to use a temp table for some of such cases.