1. 28 Oct, 2000 6 commits
    • Bruce Momjian's avatar
      Back out change to gram.y for parens. · c4432317
      Bruce Momjian authored
      c4432317
    • Bruce Momjian's avatar
      beos fixes from Cyril VELTER · 88094f2e
      Bruce Momjian authored
      88094f2e
    • Vadim B. Mikheev's avatar
      WAL · 5b0740d3
      Vadim B. Mikheev authored
      5b0740d3
    • Bruce Momjian's avatar
      Okay, here's my attempt at fixing the problems with parentheses in · 2f4c9d39
      Bruce Momjian authored
      subqueries.  It passes the normal 'runcheck' tests, and I've tried
      a few simple things like
        select 1 as foo union (((((select 2))))) order by foo;
      
      There are a few things that it doesn't do that have been talked
      about here at least a little:
      
      1) It doesn't allow things like "IN(((select 1)))" -- the select
      here has to be at the top level.  This is not new.
      2) It does NOT preserve the odd syntax I found when I started looking
      at this, where a SELECT statement could begin with parentheses.  Thus,
        (SELECT a from foo) order by a;
      fails.
      
      I have preserved the ability, used in the regression tests, to
      have a single select statement in what appears to be a RuleActionMulti
      (but wasn't -- the parens were part of select_clause syntax).
      In my version, this is a special form.
      
      This may cause some discussion: I have differentiated the two kinds
      of RuleActionMulti.  Perhaps nobody knew there were two kinds, because
      I don't think the second form appears in the regression tests. This
      one uses square brackets instead of parentheses, but originally was
      otherwise the same as the one in parentheses.  In this version of
      gram.y, the square bracket form treats SELECT statements the same
      as the other allowed statements.  As discussed before on this list,
      psql cannot make sense out of the results of such a thing, but an
      application might.  And I have designs on just such an application.
      
      ++ kevin o'gorman
      2f4c9d39
    • Peter Eisentraut's avatar
      Remove compiler warnings (add missing include files). Only link against · 3eb9b737
      Peter Eisentraut authored
      -lm if it's actually there.
      3eb9b737
    • Peter Eisentraut's avatar
      8df6b2b5
  2. 27 Oct, 2000 7 commits
  3. 26 Oct, 2000 6 commits
  4. 25 Oct, 2000 13 commits
  5. 24 Oct, 2000 8 commits