X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DC445B43183 for ; Mon, 7 Jul 2003 16:20:38 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 53310-01 for ; Mon, 7 Jul 2003 13:20:27 -0300 (ADT) Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by svr1.postgresql.org (Postfix) with ESMTP id 1242DB435E9 for ; Mon, 7 Jul 2003 13:20:22 -0300 (ADT) Received: from [10.0.2.7] ([216.208.117.7]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030707162021.TNDU22600.tomts15-srv.bellnexxia.net@[10.0.2.7]>; Mon, 7 Jul 2003 12:20:21 -0400 Subject: Re: max length of sql select statement ? From: Rod Taylor To: markus brosch Cc: mallah@trade-india.com, pgsql-sql In-Reply-To: <1057594050.886.104.camel@sam> References: <1057592658.881.93.camel@sam> <1101.219.65.226.199.1057593454.squirrel@mail.trade-india.com> <1057594050.886.104.camel@sam> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Bl4+X/lR4JDPs6+cC/Ux" Message-Id: <1057594852.46100.11.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 07 Jul 2003 16:20:53 +0000 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/74 X-Sequence-Number: 14188 --=-Bl4+X/lR4JDPs6+cC/Ux Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > 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 =3D '<1GB long file>'; It tends not to be friendly for Ram though :) --=-Bl4+X/lR4JDPs6+cC/Ux Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/CZ3j6DETLow6vwwRAgHVAJ4wIXO2SYVByAHFOwaFxgGX9gkKQwCdF2s0 CW1wfYKDbsrZ4AIN3FcNn7c= =R3u6 -----END PGP SIGNATURE----- --=-Bl4+X/lR4JDPs6+cC/Ux--