1. 30 Mar, 1998 1 commit
    • Bruce Momjian's avatar
      I started adding the Having Clause and it works quite fine for · c579ce0f
      Bruce Momjian authored
      sequential scans! (I think it will also work with hash, index, etc
      but I did not check it out! I made some High level changes which
      should work for all access methods, but maybe I'm wrong. Please
      let me know.)
      
      Now it is possible to make queries like:
      
      select s.sname, max(p.pid), min(p.pid) from part p, supplier s
      where s.sid=p.sid group by s.sname having max(pid)=6 and min(pid)=1
      or avg(pid)=4;
      
      Having does not work yet for queries that contain a subselect
      statement in the Having clause, I'll try to fix this in the next
      days.
      
      If there are some bugs, please let me know, I'll start to read the
      mailinglists now!
      
      Now here is the patch against the original 6.3 version (no snapshot!!):
      
      Stefan
      c579ce0f
  2. 29 Mar, 1998 1 commit
  3. 28 Mar, 1998 1 commit
  4. 26 Mar, 1998 3 commits
  5. 25 Mar, 1998 2 commits
  6. 23 Mar, 1998 9 commits
  7. 22 Mar, 1998 7 commits
  8. 21 Mar, 1998 4 commits
  9. 20 Mar, 1998 11 commits
  10. 18 Mar, 1998 1 commit
    • Thomas G. Lockhart's avatar
      Allow parsing expressions with ") -" (scan.l, scan.c only). · 561aead3
      Thomas G. Lockhart authored
      Make "TABLE" optional in "LOCK TABLE" command
       and "... INTO TABLE..." clause.
      Explicitly parse CREATE SEQUENCE options to allow a negative integer
       as an argument; this is an artifact of unary minus handling in scan.l.
      Add "PASSWORD" as an allowed column identifier.
      These fixes will require a "make clean install" but not a dump/reload.
      561aead3