1. 06 10月, 2000 1 次提交
    • T
      Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the · 05e3d0ee
      Tom Lane 提交于
      SQL92 semantics, including support for ALL option.  All three can be used
      in subqueries and views.  DISTINCT and ORDER BY work now in views, too.
      This rewrite fixes many problems with cross-datatype UNIONs and INSERT/SELECT
      where the SELECT yields different datatypes than the INSERT needs.  I did
      that by making UNION subqueries and SELECT in INSERT be treated like
      subselects-in-FROM, thereby allowing an extra level of targetlist where the
      datatype conversions can be inserted safely.
      INITDB NEEDED!
      05e3d0ee
  2. 30 9月, 2000 1 次提交
    • T
      Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. · 3a94e789
      Tom Lane 提交于
      (Don't forget that an alias is required.)  Views reimplemented as expanding
      to subselect-in-FROM.  Grouping, aggregates, DISTINCT in views actually
      work now (he says optimistically).  No UNION support in subselects/views
      yet, but I have some ideas about that.  Rule-related permissions checking
      moved out of rewriter and into executor.
      INITDB REQUIRED!
      3a94e789
  3. 13 8月, 2000 1 次提交
    • T
      Clean up handling of variable-free qual clauses. System now does the · 37168b8d
      Tom Lane 提交于
      right thing with variable-free clauses that contain noncachable functions,
      such as 'WHERE random() < 0.5' --- these are evaluated once per
      potential output tuple.  Expressions that contain only Params are
      now candidates to be indexscan quals --- for example, 'var = ($1 + 1)'
      can now be indexed.  Cope with RelabelType nodes atop potential indexscan
      variables --- this oversight prevents 7.0.* from recognizing some
      potentially indexscanable situations.
      37168b8d
  4. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  5. 06 1月, 2000 1 次提交
  6. 24 11月, 1999 1 次提交
  7. 16 7月, 1999 1 次提交
  8. 24 3月, 1999 1 次提交
  9. 14 2月, 1999 1 次提交
  10. 01 9月, 1998 1 次提交
  11. 16 6月, 1998 1 次提交
  12. 20 5月, 1998 1 次提交
  13. 26 2月, 1998 1 次提交
  14. 13 2月, 1998 1 次提交
    • V
      Support for subselects. · 1a105cef
      Vadim B. Mikheev 提交于
      ExecReScan for nodeAgg, nodeHash, nodeHashjoin, nodeNestloop and nodeResult.
      Fixed ExecReScan for nodeMaterial.
      Get rid of #ifdef INDEXSCAN_PATCH.
      Get rid of ExecMarkPos and ExecRestrPos in nodeNestloop.
      1a105cef
  15. 08 1月, 1998 1 次提交
  16. 05 1月, 1998 1 次提交
  17. 09 9月, 1997 1 次提交
  18. 08 9月, 1997 1 次提交
  19. 07 9月, 1997 1 次提交
  20. 31 10月, 1996 1 次提交
  21. 09 7月, 1996 1 次提交