postgresql/src/backend
Heikki Linnakangas ad458cfe81 Don't use O_DIRECT when writing WAL files if archiving or streaming is
enabled. Bypassing the kernel cache is counter-productive in that case,
because the archiver/walsender process will read from the WAL file
soon after it's written, and if it's not cached the read will cause
a physical read, eating I/O bandwidth available on the WAL drive.

Also, walreceiver process does unaligned writes, so disable O_DIRECT
in walreceiver process for that reason too.
2010-02-19 10:51:04 +00:00
..
access Don't use O_DIRECT when writing WAL files if archiving or streaming is 2010-02-19 10:51:04 +00:00
bootstrap Create a "relation mapping" infrastructure to support changing the relfilenodes 2010-02-07 20:48:13 +00:00
catalog Stamp HEAD as 9.0devel, and update various places that were referring to 8.5 2010-02-17 04:19:41 +00:00
commands Forbid setval() during recovery. This prevents the PANIC reported by 2010-02-19 06:29:19 +00:00
executor Fix ExecEvalArrayRef to pass down the old value of the array element or slice 2010-02-18 18:41:47 +00:00
foreign Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
lib Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq Fix pq_getbyte_if_available() function. It was confused on what it 2010-02-18 11:13:46 +00:00
main Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodes Replace the pg_listener-based LISTEN/NOTIFY mechanism with an in-memory queue. 2010-02-16 22:34:57 +00:00
optimizer Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
parser Stamp HEAD as 9.0devel, and update various places that were referring to 8.5 2010-02-17 04:19:41 +00:00
po Translation updates for 9.0alpha4 2010-02-19 00:40:05 +00:00
port Another typo fix. 2010-02-17 05:51:40 +00:00
postmaster Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
regex Change regexp engine's ccondissect/crevdissect routines to perform DFA 2010-02-01 02:45:29 +00:00
replication Don't use O_DIRECT when writing WAL files if archiving or streaming is 2010-02-19 10:51:04 +00:00
rewrite Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
snowball Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
storage Replace the pg_listener-based LISTEN/NOTIFY mechanism with an in-memory queue. 2010-02-16 22:34:57 +00:00
tcop Replace the pg_listener-based LISTEN/NOTIFY mechanism with an in-memory queue. 2010-02-16 22:34:57 +00:00
tsearch When estimating the selectivity of an inequality "column > constant" or 2010-01-04 02:44:40 +00:00
utils Provide some rather hokey ways for EXPLAIN to print FieldStore and assignment 2010-02-18 22:43:31 +00:00
Makefile Well, the systemtap guys moved the goalposts again: with the latest version, 2010-01-20 23:12:03 +00:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +00:00
nls.mk Convert the core lexer and parser into fully reentrant code, by making use 2009-07-13 02:02:20 +00:00