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

xlog.c

Blame
    • Tom Lane's avatar
      1a604b4e
      Fix a subtle bug exposed by recent wal_sync_method rearrangements. · 1a604b4e
      Tom Lane authored
      Formerly, the default value of wal_sync_method was determined inside xlog.c,
      but now it is determined inside guc.c.  guc.c was reading xlogdefs.h
      without having read <fcntl.h>, leading to wrong determination of
      DEFAULT_SYNC_METHOD.  Obviously xlogdefs.h needs to include <fcntl.h>
      for itself to ensure stable results.
      1a604b4e
      History
      Fix a subtle bug exposed by recent wal_sync_method rearrangements.
      Tom Lane authored
      Formerly, the default value of wal_sync_method was determined inside xlog.c,
      but now it is determined inside guc.c.  guc.c was reading xlogdefs.h
      without having read <fcntl.h>, leading to wrong determination of
      DEFAULT_SYNC_METHOD.  Obviously xlogdefs.h needs to include <fcntl.h>
      for itself to ensure stable results.