Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id TAA29948 for postgres-redist; Tue, 4 Oct 1994 19:10:21 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199410050210.TAA29948@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from EIGER.EDRC.CMU.EDU (EIGER.EDRC.CMU.EDU [128.2.214.41]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id TAA29938 for <postgres@nobozo.CS.BERKELEY.EDU>; Tue, 4 Oct 1994 19:10:20 -0700
Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.EIGER.EDRC.CMU.EDU.pmax.mach
          via MS.5.6.EIGER.EDRC.CMU.EDU.pmax_mach;
          Tue,  4 Oct 1994 22:10:12 -0400 (EDT)
Message-ID: <ciYUg4K00hMdAUgLxC@cs.cmu.edu>
Date: Tue,  4 Oct 1994 22:10:12 -0400 (EDT)
From: Robert.Patrick@cs.cmu.edu
To: postgres@postgres.Berkeley.EDU
Subject: More on:  Limit to where clause length?
In-Reply-To: <AiYToQS00hMd8UgK4N@cs.cmu.edu>
References: <AiYToQS00hMd8UgK4N@cs.cmu.edu>
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Tue, 04 Oct 94 19:10:20 -0700
Resent-XMts: smtp

It seems that the limit is not on the actual length of the where clause
but on the number of tables which can be referenced by one query (at
least in the where clause).

It appears that I can execute any combination of and's and or's in a
where clause as long as I don't access more than 3 tables.  The minute I
try to access 4 tables, even in a simpler query, Postgres simply returns
an empty table, even if there are tuples which match the query.

Robert

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
