1. 12 5月, 2004 4 次提交
    • B
      As part of the work for making relocatable installs, I have re-factored · fda15b35
      Bruce Momjian 提交于
      all the code that looks for other binaries.  I move FindExec into
      port/exec.c (and renamed it to find_my_binary()).  I also added
      find_other_binary that looks for another binary in the same directory as
      the calling program, and checks the version string.
      
      The only behavior change was that initdb and pg_dump would look in the
      hard-coded bindir directory if it can't find the requested binary in the
      same directory as the caller.  The new code throws an error.  The old
      behavior seemed too error prone for version mismatches.
      fda15b35
    • B
      Add DELETE: · 270c9aa3
      Bruce Momjian 提交于
      > * Add MERGE command that does UPDATE/DELETE, or on failure, INSERT (rules, triggers?)
      270c9aa3
    • T
      Add tests to enlargeStringInfo() to avoid possible buffer-overrun or · a2160c5e
      Tom Lane 提交于
      infinite-loop problems if a bogus data length is passed.
      a2160c5e
    • T
      Refactor low-level aclcheck code to provide useful interfaces for multi-bit · 5ddbe904
      Tom Lane 提交于
      permissions tests in about the same amount of code as before.  Exactly what
      the GRANT/REVOKE code ought to be doing is still up for debate, but this
      should be helpful in any case, and it already solves an efficiency problem
      in executor startup.
      5ddbe904
  2. 11 5月, 2004 7 次提交
  3. 10 5月, 2004 2 次提交
  4. 09 5月, 2004 3 次提交
    • T
      Fix a couple of oversights in new ALTER TABLE code that broke · 7a3977c0
      Tom Lane 提交于
      ALTER SET STATISTICS for functional indexes.
      7a3977c0
    • T
      Alter string format used for integer and OID lists in stored rules. · c00b3099
      Tom Lane 提交于
      This simplifies and speeds up the reader by letting it get the representation
      right the first time, rather than correcting it after-the-fact.  Also,
      after int and OID lists become separate node types per Neil's pending
      patch, this will let us treat these lists as just plain Nodes instead
      of requiring separate read/write macros the way we have now.
      c00b3099
    • T
      Get rid of rd_nblocks field in relcache entries. Turns out this was · 4af34211
      Tom Lane 提交于
      costing us lots more to maintain than it was worth.  On shared tables
      it was of exactly zero benefit because we couldn't trust it to be
      up to date.  On temp tables it sometimes saved an lseek, but not often
      enough to be worth getting excited about.  And the real problem was that
      we forced an lseek on every relcache flush in order to update the field.
      So all in all it seems best to lose the complexity.
      4af34211
  5. 08 5月, 2004 5 次提交
  6. 07 5月, 2004 13 次提交
  7. 06 5月, 2004 6 次提交