1. 26 5月, 2000 6 次提交
  2. 25 5月, 2000 4 次提交
  3. 24 5月, 2000 7 次提交
  4. 23 5月, 2000 5 次提交
  5. 22 5月, 2000 3 次提交
    • B
      Cleanup · 569a1431
      Bruce Momjian 提交于
      569a1431
    • B
      I am attempting to integrate postgres (v 7.0) with an open source · 0460f050
      Bruce Momjian 提交于
      project I am working on (Recall - a distributed, fault-tolerant,
      replicated, storage framework @ http://www.fault-tolerant.org).
      Recall is written in C++.  I need to include the postgres headers and
      there are some problems when including the headers w/C++.
      
      Attached is a patch generated from postgres/src that fixes my problems.
      I was hoping to get this into the main source.  It's very small (2k) and
      3 files are changed: backend/utils/fmgr/fmgr.c,
      backend/utils/Gen_fmgrtab.sh.in, and include/access/tupdesc.h.
      
      In C++, you get a multiply defined symbol because the variable
      (FmgrInfo *fmgr_pl_finfo) is defined in the header (the patch moves it
      to the .c file).  The other problem in tupdesc.h is the use of typeid
      is a problem in c++ (I renamed it to oidtypeid).
      
      Thanks,
      Neal Norwitz
      0460f050
    • T
      Remove calls to getprotobyname(), which we now know leaks memory on · 1f0aff03
      Tom Lane 提交于
      some platforms --- and I also see that it is documented as not thread-
      safe on HPUX and possibly other platforms.  No good reason not to just
      use IPPROTO_TCP constant from <netinet/in.h> instead.
      1f0aff03
  6. 21 5月, 2000 3 次提交
  7. 20 5月, 2000 8 次提交
  8. 19 5月, 2000 4 次提交
    • T
      Revise FlushRelationBuffers/ReleaseRelationBuffers per discussion with · f923260e
      Tom Lane 提交于
      Hiroshi.  ReleaseRelationBuffers now removes rel's buffers from pool,
      instead of merely marking them nondirty.  The old code would leave valid
      buffers for a deleted relation, which didn't cause any known problems
      but can't possibly be a good idea.  There were several places which called
      ReleaseRelationBuffers *and* FlushRelationBuffers, which is now
      unnecessary; but there were others that did not.  FlushRelationBuffers
      no longer emits a warning notice if it finds dirty buffers to flush,
      because with the current bufmgr behavior that's not an unexpected
      condition.  Also, FlushRelationBuffers will flush out all dirty buffers
      for the relation regardless of block number.  This ensures that
      pg_upgrade's expectations are met about tuple on-row status bits being
      up-to-date on disk.  Lastly, tweak BufTableDelete() to clear the
      buffer's tag so that no one can mistake it for being a still-valid
      buffer for the page it once held.  Formerly, the buffer would not be
      found by buffer hashtable searches after BufTableDelete(), but it would
      still be thought to belong to its old relation by the routines that
      sequentially scan the shared-buffer array.  Again I know of no bugs
      caused by that, but it still can't be a good idea.
      f923260e
    • T
      Correct busted syntax of CC invocation for tas.s. · db90fdf9
      Tom Lane 提交于
      db90fdf9
    • B
      Unset PGHOST · e7be9d33
      Bruce Momjian 提交于
      e7be9d33
    • B
      Change remove function warning for built-ins. · 6108a7ed
      Bruce Momjian 提交于
      6108a7ed