1. 05 8月, 1998 1 次提交
  2. 24 7月, 1998 2 次提交
  3. 21 7月, 1998 2 次提交
  4. 19 7月, 1998 1 次提交
    • B
      1) Queries using the having clause on base tables should work well · 460b20a4
      Bruce Momjian 提交于
         now. Here some tested features, (examples included in the patch):
      
      1.1) Subselects in the having clause 1.2) Double nested subselects
      1.3) Subselects used in the where clause and in the having clause
           simultaneously 1.4) Union Selects using having 1.5) Indexes
      on the base relations are used correctly 1.6) Unallowed Queries
      are prevented (e.g. qualifications in the
           having clause that belong to the where clause) 1.7) Insert
      into as select
      
      2) Queries using the having clause on view relations also work
         but there are some restrictions:
      
      2.1) Create View as Select ... Having ...; using base tables in
      the select 2.1.1) The Query rewrite system:
      
      2.1.2) Why are only simple queries allowed against a view from 2.1)
      ? 2.2) Select ... from testview1, testview2, ... having...; 3) Bug
      in ExecMergeJoin ??
      
      
      Regards Stefan
      460b20a4
  5. 18 7月, 1998 1 次提交
  6. 15 7月, 1998 1 次提交
  7. 16 6月, 1998 1 次提交
  8. 15 4月, 1998 1 次提交
  9. 14 4月, 1998 1 次提交
  10. 06 4月, 1998 1 次提交
    • B
      Hi, · 1e801a8f
      Bruce Momjian 提交于
      Attached you'll find a (big) patch that fixes make dep and make
      depend in all Makefiles where I found it to be appropriate.
      
      It also removes the dependency in Makefile.global for NAMEDATALEN
      and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
      a little smarter.
      
      This no longer requires initdb.sh that is turned into initdb with
      a sed script when installing Postgres, hence initdb.sh should be
      renamed to initdb (after the patch has been applied :-) )
      
      This patch is against the 6.3 sources, as it took a while to
      complete.
      
      Please review and apply,
      
      Cheers,
      
      Jeroen van Vianen
      1e801a8f
  11. 01 4月, 1998 1 次提交
  12. 31 3月, 1998 1 次提交
    • B
      I started adding the Having Clause and it works quite fine for · c579ce0f
      Bruce Momjian 提交于
      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
  13. 16 3月, 1998 2 次提交
  14. 26 2月, 1998 1 次提交
  15. 13 2月, 1998 1 次提交
  16. 10 2月, 1998 1 次提交
  17. 21 1月, 1998 1 次提交
  18. 16 1月, 1998 1 次提交
  19. 15 1月, 1998 1 次提交
  20. 14 1月, 1998 1 次提交
  21. 08 1月, 1998 1 次提交
  22. 05 1月, 1998 1 次提交
  23. 29 12月, 1997 1 次提交
  24. 27 12月, 1997 1 次提交
  25. 24 12月, 1997 1 次提交
  26. 22 12月, 1997 1 次提交
  27. 20 12月, 1997 2 次提交
  28. 19 12月, 1997 2 次提交
  29. 18 12月, 1997 4 次提交
  30. 26 11月, 1997 1 次提交
  31. 22 11月, 1997 1 次提交
  32. 25 9月, 1997 1 次提交