Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

fd.c

Blame
    • Tom Lane's avatar
      77642a81
      Remove special cases for ETXTBSY from new fsync'ing logic. · 77642a81
      Tom Lane authored
      The argument that this is a sufficiently-expected case to be silently
      ignored seems pretty thin.  Andres had brought it up back when we were
      still considering that most fsync failures should be hard errors, and it
      probably would be legit not to fail hard for ETXTBSY --- but the same is
      true for EROFS and other cases, which is why we gave up on hard failures.
      ETXTBSY is surely not a normal case, so logging the failure seems fine
      from here.
      77642a81
      History
      Remove special cases for ETXTBSY from new fsync'ing logic.
      Tom Lane authored
      The argument that this is a sufficiently-expected case to be silently
      ignored seems pretty thin.  Andres had brought it up back when we were
      still considering that most fsync failures should be hard errors, and it
      probably would be legit not to fail hard for ETXTBSY --- but the same is
      true for EROFS and other cases, which is why we gave up on hard failures.
      ETXTBSY is surely not a normal case, so logging the failure seems fine
      from here.