diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-17 17:24:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-17 17:24:57 +0000 |
commit | 1a604b4e3101e7e4327676144963f2a8fdb5722b (patch) | |
tree | 98ef89f9c875bca8a0d6a6ac581d329431b2e1f3 /src/tutorial/basics.source | |
parent | 55f6f8f2aa437a28e4d8a590bfbebe371bd75109 (diff) | |
download | postgresql-1a604b4e3101e7e4327676144963f2a8fdb5722b.tar.gz postgresql-1a604b4e3101e7e4327676144963f2a8fdb5722b.zip |
Fix a subtle bug exposed by recent wal_sync_method rearrangements.
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.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions