1. 17 12月, 2002 2 次提交
    • T
      Fix ALTER TABLE ADD COLUMN to disallow the same column types that are · 260faf0b
      Tom Lane 提交于
      disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types
      from being introduced by the range-function syntax.  While at it, allow
      CREATE TABLE to create zero-column tables, per recent pghackers discussion.
      I am back-patching this into 7.3 since failure to disallow pseudo-types
      is arguably a security hole.
      260faf0b
    • T
      Code review for palloc0 patch --- avoid dangerous and unnecessary · 88177f77
      Tom Lane 提交于
      practice of evaluating MemSet's arguments multiple times, except for
      the special case of newNode(), where we can assume the argument is
      a constant sizeof() operator.
      Also, add GetMemoryChunkContext() to mcxt.c's API, in preparation for
      fixing recent GEQO breakage.
      88177f77
  2. 16 12月, 2002 2 次提交
    • T
      Tweak default memory context allocation policy so that a context is not · e64c7feb
      Tom Lane 提交于
      given any malloc block until something is first allocated in it; but
      thereafter, MemoryContextReset won't release that first malloc block.
      This preserves the quick-reset property of the original policy, without
      forcing 8K to be allocated to every context whether any of it is ever
      used or not.  Also, remove some more no-longer-needed explicit freeing
      during ExecEndPlan.
      e64c7feb
    • T
      Revise executor APIs so that all per-query state structure is built in · 5bab36e9
      Tom Lane 提交于
      a per-query memory context created by CreateExecutorState --- and destroyed
      by FreeExecutorState.  This provides a final solution to the longstanding
      problem of memory leaked by various ExecEndNode calls.
      5bab36e9
  3. 15 12月, 2002 4 次提交
  4. 14 12月, 2002 8 次提交
  5. 13 12月, 2002 13 次提交
  6. 12 12月, 2002 8 次提交
  7. 11 12月, 2002 3 次提交