1. 08 Sep, 1999 1 commit
  2. 07 Sep, 1999 5 commits
  3. 06 Sep, 1999 6 commits
  4. 05 Sep, 1999 3 commits
  5. 04 Sep, 1999 8 commits
  6. 03 Sep, 1999 3 commits
  7. 02 Sep, 1999 2 commits
    • Tom Lane's avatar
      51f62ea4
    • Tom Lane's avatar
      Repair a bunch of problems in md.c. This builds on Hiroshi's · 68c32348
      Tom Lane authored
      insight that RelationFlushRelation ought to invoke smgrclose, and that the
      way to make that work is to ensure that mdclose doesn't fail if the relation
      is already closed (or unlinked, if we are looking at a DROP TABLE).  While
      I was testing that, I was able to identify several problems that we had
      with multiple-segment relations.  The system is now able to do initdb and
      pass the regression tests with a very small segment size (I had it set to
      64Kb per segment for testing).  I don't believe that ever worked before.
      File descriptor leaks seem to be gone too.
      I have partially addressed the concerns we had about mdtruncate(), too.
      On a Win32 or NFS filesystem it is not possible to unlink a file that
      another backend is holding open, so what md.c now does is to truncate
      unwanted files to zero length before trying to unlink them.  The other
      backends will be forced to close their open files by relation cache
      invalidation --- but I think it would take considerable work to make
      that happen before vacuum truncates the relation rather than after.
      Leaving zero-length files lying around seems a usable compromise.
      68c32348
  8. 01 Sep, 1999 2 commits
  9. 31 Aug, 1999 3 commits
  10. 29 Aug, 1999 2 commits
  11. 28 Aug, 1999 2 commits
  12. 26 Aug, 1999 2 commits
  13. 25 Aug, 1999 1 commit
    • Tom Lane's avatar
      Revise implementation of SubLinks so that there is a consistent, · 42af56e1
      Tom Lane authored
      documented intepretation of the lefthand and oper fields.  Fix a number of
      obscure problems while at it --- for example, the old code failed if the parser
      decided to insert a type-coercion function just below the operator of a
      SubLink.
      CAUTION: this will break stored rules that contain subplans.  You may
      need to initdb.
      42af56e1