agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Robert.Patrick@cs.cmu.edu
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: More on: Limit to where clause length?
Date: Tue, 04 Oct 94 23:02:28 -0700
Message-ID: <199410050602.XAA20567@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <ciYUg4K00hMdAUgLxC@cs.cmu.edu>

Robert.Patrick@cs.cmu.edu writes:
> 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.

src/examples/chapter15 contains several four-way joins.

there is no hardwired limit on the number of tables that you can 
reference in a query, though (as recently mentioned) there are some 
8kb buffers awaiting the unwary.
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   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.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, Robert.Patrick@cs.cmu.edu
  Subject: Re: More on: Limit to where clause length?
  In-Reply-To: <199410050602.XAA20567@faerie.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox