1. 07 4月, 2005 2 次提交
    • T
      Remove test for NULL node in ExecProcNode(). No place ever calls · a6bbfedc
      Tom Lane 提交于
      ExecProcNode() with a NULL value, so the test couldn't do anything
      for us except maybe mask bugs.  Removing it probably doesn't save
      anything much either, but then again this is a hot-spot routine.
      a6bbfedc
    • T
      Merge Resdom nodes into TargetEntry nodes to simplify code and save a · ad161bcc
      Tom Lane 提交于
      few palloc's.  I also chose to eliminate the restype and restypmod fields
      entirely, since they are redundant with information stored in the node's
      contained expression; re-examining the expression at need seems simpler
      and more reliable than trying to keep restype/restypmod up to date.
      
      initdb forced due to change in contents of stored rules.
      ad161bcc
  2. 06 4月, 2005 4 次提交
  3. 05 4月, 2005 3 次提交
  4. 04 4月, 2005 4 次提交
  5. 03 4月, 2005 1 次提交
  6. 02 4月, 2005 7 次提交
  7. 01 4月, 2005 6 次提交
  8. 31 3月, 2005 4 次提交
  9. 30 3月, 2005 5 次提交
  10. 29 3月, 2005 3 次提交
    • T
      Officially decouple FUNC_MAX_ARGS from INDEX_MAX_KEYS, and set the · 8c85a34a
      Tom Lane 提交于
      former to 100 by default.  Clean up some of the less necessary
      dependencies on FUNC_MAX_ARGS; however, the biggie (FunctionCallInfoData)
      remains.
      8c85a34a
    • N
      Add SPI_getnspname(), including documentation. · 4f6f5db4
      Neil Conway 提交于
      4f6f5db4
    • T
      Convert oidvector and int2vector into variable-length arrays. This · 70c9763d
      Tom Lane 提交于
      change saves a great deal of space in pg_proc and its primary index,
      and it eliminates the former requirement that INDEX_MAX_KEYS and
      FUNC_MAX_ARGS have the same value.  INDEX_MAX_KEYS is still embedded
      in the on-disk representation (because it affects index tuple header
      size), but FUNC_MAX_ARGS is not.  I believe it would now be possible
      to increase FUNC_MAX_ARGS at little cost, but haven't experimented yet.
      There are still a lot of vestigial references to FUNC_MAX_ARGS, which
      I will clean up in a separate pass.  However, getting rid of it
      altogether would require changing the FunctionCallInfoData struct,
      and I'm not sure I want to buy into that.
      70c9763d
  11. 28 3月, 2005 1 次提交