1. 18 1月, 2018 1 次提交
  2. 04 11月, 2017 2 次提交
  3. 07 6月, 2017 1 次提交
  4. 28 10月, 2015 1 次提交
  5. 02 1月, 2009 1 次提交
  6. 02 1月, 2008 1 次提交
  7. 06 1月, 2007 1 次提交
  8. 04 10月, 2006 1 次提交
  9. 14 7月, 2006 1 次提交
  10. 23 5月, 2006 1 次提交
    • T
      Remove CXT_printf/CXT1_printf macros. If anyone had found them to be of · 798e63ff
      Tom Lane 提交于
      any use in the past many years, we'd have made some effort to include
      them in all executor node types; but in fact they were only in
      nodeAppend.c and nodeIndexscan.c, up until I copied nodeIndexscan.c's
      occurrence into the new bitmap node types.  Remove some other unused
      macros in execdebug.h, too.  Some day the whole header probably ought to
      go away in favor of better-designed facilities.
      798e63ff
  11. 05 3月, 2006 1 次提交
  12. 28 2月, 2006 1 次提交
    • T
      Extend the ExecInitNode API so that plan nodes receive a set of flag · 2c0ef977
      Tom Lane 提交于
      bits indicating which optional capabilities can actually be exercised
      at runtime.  This will allow Sort and Material nodes, and perhaps later
      other nodes, to avoid unnecessary overhead in common cases.
      This commit just adds the infrastructure and arranges to pass the correct
      flag values down to plan nodes; none of the actual optimizations are here
      yet.  I'm committing this separately in case anyone wants to measure the
      added overhead.  (It should be negligible.)
      
      Simon Riggs and Tom Lane
      2c0ef977
  13. 05 2月, 2006 1 次提交
    • T
      Improve my initial, rather hacky implementation of joins to append · 336a6491
      Tom Lane 提交于
      relations: fix the executor so that we can have an Append plan on the
      inside of a nestloop and still pass down outer index keys to index scans
      within the Append, then generate such plans as if they were regular
      inner indexscans.  This avoids the need to evaluate the outer relation
      multiple times.
      336a6491
  14. 15 10月, 2005 1 次提交
  15. 23 5月, 2005 1 次提交
    • T
      Teach the planner to remove SubqueryScan nodes from the plan if they · e2159f38
      Tom Lane 提交于
      aren't doing anything useful (ie, neither selection nor projection).
      Also, extend to SubqueryScan the hacks already in place to avoid
      unnecessary ExecProject calls when the result would just be the same
      tuple the subquery already delivered.  This saves some overhead in
      UNION and other set operations, as well as avoiding overhead for
      unflatten-able subqueries.  Per example from Sokolov Yura.
      e2159f38
  16. 24 4月, 2005 1 次提交
  17. 01 1月, 2005 1 次提交
    • P
      · 2ff50159
      PostgreSQL Daemon 提交于
      Tag appropriate files for rc3
      
      Also performed an initial run through of upgrading our Copyright date to
      extend to 2005 ... first run here was very simple ... change everything
      where: grep 1996-2004 && the word 'Copyright' ... scanned through the
      generated list with 'less' first, and after, to make sure that I only
      picked up the right entries ...
      2ff50159
  18. 08 10月, 2004 1 次提交
    • T
      Fix problems with SQL functions returning rowtypes that have dropped · a8487e15
      Tom Lane 提交于
      columns.  The returned tuple needs to have appropriate NULL columns
      inserted so that it actually matches the declared rowtype.  It seemed
      convenient to use a JunkFilter for this, so I made some cleanups and
      simplifications in the JunkFilter code to allow it to support this
      additional functionality.  (That in turn exposed a latent bug in
      nodeAppend.c, which is that it was returning a tuple slot whose
      descriptor didn't match its data.)  Also, move check_sql_fn_retval
      out of pg_proc.c and into functions.c, where it seems to more naturally
      belong.
      a8487e15
  19. 24 9月, 2004 1 次提交
  20. 29 8月, 2004 1 次提交
  21. 31 5月, 2004 1 次提交
  22. 26 5月, 2004 1 次提交
    • N
      Reimplement the linked list data structure used throughout the backend. · d0b4399d
      Neil Conway 提交于
      In the past, we used a 'Lispy' linked list implementation: a "list" was
      merely a pointer to the head node of the list. The problem with that
      design is that it makes lappend() and length() linear time. This patch
      fixes that problem (and others) by maintaining a count of the list
      length and a pointer to the tail node along with each head node pointer.
      A "list" is now a pointer to a structure containing some meta-data
      about the list; the head and tail pointers in that structure refer
      to ListCell structures that maintain the actual linked list of nodes.
      
      The function names of the list API have also been changed to, I hope,
      be more logically consistent. By default, the old function names are
      still available; they will be disabled-by-default once the rest of
      the tree has been updated to use the new API names.
      d0b4399d
  23. 22 1月, 2004 1 次提交
  24. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  25. 04 8月, 2003 2 次提交
  26. 09 2月, 2003 1 次提交
    • T
      Make further use of new bitmapset code: executor's chgParam, extParam, · 145014f8
      Tom Lane 提交于
      locParam lists can be converted to bitmapsets to speed updating.  Also,
      replace 'locParam' with 'allParam', which contains all the paramIDs
      relevant to the node (i.e., the union of extParam and locParam); this
      saves a step during SetChangedParamList() without costing anything
      elsewhere.
      145014f8
  27. 05 12月, 2002 1 次提交
    • T
      Phase 1 of read-only-plans project: cause executor state nodes to point · 1fd0c59e
      Tom Lane 提交于
      to plan nodes, not vice-versa.  All executor state nodes now inherit from
      struct PlanState.  Copying of plan trees has been simplified by not
      storing a list of SubPlans in Plan nodes (eliminating duplicate links).
      The executor still needs such a list, but it can build it during
      ExecutorStart since it has to scan the plan tree anyway.
      No initdb forced since no stored-on-disk structures changed, but you
      will need a full recompile because of node-numbering changes.
      1fd0c59e
  28. 13 11月, 2002 1 次提交
  29. 11 11月, 2002 1 次提交
  30. 10 11月, 2002 1 次提交
  31. 02 11月, 2002 1 次提交
  32. 02 9月, 2002 1 次提交
    • T
      Code review for HeapTupleHeader changes. Add version number to page headers · c7a165ad
      Tom Lane 提交于
      (overlaying low byte of page size) and add HEAP_HASOID bit to t_infomask,
      per earlier discussion.  Simplify scheme for overlaying fields in tuple
      header (no need for cmax to live in more than one place).  Don't try to
      clear infomask status bits in tqual.c --- not safe to do it there.  Don't
      try to force output table of a SELECT INTO to have OIDs, either.  Get rid
      of unnecessarily complex three-state scheme for TupleDesc.tdhasoids, which
      has already caused one recent failure.  Improve documentation.
      c7a165ad
  33. 21 6月, 2002 1 次提交
  34. 03 3月, 2002 1 次提交
    • B
      Commit to match discussed elog() changes. Only update is that LOG is · a033daf5
      Bruce Momjian 提交于
      now just below FATAL in server_min_messages.  Added more text to
      highlight ordering difference between it and client_min_messages.
      
      ---------------------------------------------------------------------------
      
      REALLYFATAL => PANIC
      STOP => PANIC
      New INFO level the prints to client by default
      New LOG level the prints to server log by default
      Cause VACUUM information to print only to the client
      NOTICE => INFO where purely information messages are sent
      DEBUG => LOG for purely server status messages
      DEBUG removed, kept as backward compatible
      DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added
      DebugLvl removed in favor of new DEBUG[1-5] symbols
      New server_min_messages GUC parameter with values:
              DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC
      New client_min_messages GUC parameter with values:
              DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC
      Server startup now logged with LOG instead of DEBUG
      Remove debug_level GUC parameter
      elog() numbers now start at 10
      Add test to print error message if older elog() values are passed to elog()
      Bootstrap mode now has a -d that requires an argument, like postmaster
      a033daf5
  35. 25 10月, 2001 1 次提交
  36. 15 5月, 2001 1 次提交
    • T
      EvalPlanQual was thoroughly broken for concurrent update/delete on inheritance · a4155d3b
      Tom Lane 提交于
      trees (mostly my fault).  Repair.  Also fix long-standing bug in ExecReplace:
      after recomputing a concurrently updated tuple, we must recheck constraints.
      Make EvalPlanQual leak memory with somewhat less enthusiasm than before,
      although plugging leaks fully will require more changes than I care to risk
      in a dot-release.
      a4155d3b
  37. 09 5月, 2001 1 次提交
    • T
      Append and SubqueryScan nodes were not passing changed-parameter signals down · 5708a567
      Tom Lane 提交于
      to their children, leading to misbehavior if they had any children that paid
      attention to chgParam (most plan node types don't).  Append's bug has been
      there a long time, but nobody had noticed because it used to be difficult
      to create a query where an Append would be used below the top level of a
      plan; so there were never any parameters getting passed down.  SubqueryScan
      is new in 7.1 ... and I'd modeled its behavior on Append :-(
      5708a567
  38. 22 3月, 2001 1 次提交