Skip to content
Snippets Groups Projects
  1. Feb 02, 2003
  2. Feb 01, 2003
  3. Jan 31, 2003
  4. Jan 30, 2003
  5. Jan 29, 2003
  6. Jan 28, 2003
  7. Jan 27, 2003
  8. Jan 26, 2003
  9. Jan 25, 2003
    • Tom Lane's avatar
      Where available, use utime() or utimes() to update the file mod time · 15ab7a87
      Tom Lane authored
      of the socket file and socket lock file; this should prevent both of them
      from being removed by even the stupidest varieties of /tmp-cleaning
      script.  Per suggestion from Giles Lean.
      15ab7a87
    • Tom Lane's avatar
      Use stat(2) to probe for existing xlog segments in InstallXLogFileSegment, · 80727ce1
      Tom Lane authored
      rather than actually opening the files.  This eliminates some corner cases
      where the file indeed exists but open() fails for another reason, such
      as being out of file descriptors.  The net reliability gain is probably
      tiny, since xlog.c is full of other file open calls that will elog(PANIC)
      if they fail for any reason; but this specific failure mode has been
      observed in the field, so we may as well fix it.
      80727ce1
Loading