1. 11 Sep, 1999 2 commits
    • Tom Lane's avatar
      Update protocol doc to emphasize that backend can return · a7fd74ed
      Tom Lane authored
      arbitrarily long strings, and frontends should cope gracefully.  Goes
      along with long query and long error message changes...
      a7fd74ed
    • Tom Lane's avatar
      Eliminate elog()'s hardwired limit on length of an error message. · b399805e
      Tom Lane authored
      This change seems necessary in conjunction with long queries, and it
      cleans up some bogosity in connection with long EXPLAIN texts anyway.
      Note that current libpq will accept any length error message (at least
      until it runs out of memory); prior versions have a limit of 8K, but
      will cleanly discard excess error text, so there shouldn't be any
      big compatibility problems with old clients.
      b399805e
  2. 10 Sep, 1999 1 commit
  3. 09 Sep, 1999 5 commits
  4. 08 Sep, 1999 2 commits
  5. 07 Sep, 1999 5 commits
  6. 06 Sep, 1999 6 commits
  7. 05 Sep, 1999 3 commits
  8. 04 Sep, 1999 8 commits
  9. 03 Sep, 1999 3 commits
  10. 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
  11. 01 Sep, 1999 2 commits
  12. 31 Aug, 1999 1 commit