Commit Graph

214 Commits (fa11a09fed2b6f483231608866a682ee3a376277)

Author SHA1 Message Date
Tom Lane fa11a09fed Fix assorted portability issues with using msync() for data flushing. 10 years ago
Andres Freund e01157500f Include portability/mem.h into fd.c for MAP_FAILED. 10 years ago
Andres Freund 428b1d6b29 Allow to trigger kernel writeback after a configurable number of writes. 10 years ago
Andres Freund 606e0f9841 Introduce durable_rename() and durable_link_or_rename(). 10 years ago
Robert Haas 070140ee48 Add some functions to fd.c for the convenience of extensions. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane 57e1138bcc Remove special cases for ETXTBSY from new fsync'ing logic. 10 years ago
Tom Lane d8179b001a Fix fsync-at-startup code to not treat errors as fatal. 10 years ago
Tom Lane 32f628be74 Fix assorted inconsistencies in our calls of readlink(). 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 10 years ago
Robert Haas 922de19ef2 Fix error message in pre_sync_fname. 10 years ago
Robert Haas 456ff08638 Fix some problems with patch to fsync the data directory. 11 years ago
Robert Haas 2ce439f337 Recursively fsync() the data directory after a crash. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Heikki Linnakangas 2076db2aea Move the backup-block logic from XLogInsert to a new file, xloginsert.c. 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Tom Lane 2d00190495 Rationalize common/relpath.[hc]. 12 years ago
Bruce Momjian 1494931d73 Remove MinGW readdir/errno bug workaround fixed on 2003-10-10 12 years ago
Bruce Momjian 6f03927fce Properly check for readdir/closedir() failures 12 years ago
Bruce Momjian 886c0be3f6 C comments: remove odd blank lines after #ifdef WIN32 lines 12 years ago
Tom Lane ac4ef637ad Allow use of "z" flag in our printf calls, and use it where appropriate. 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Robert Haas cc52d5b33f Expose fsync_fname as a public API. 12 years ago
Tom Lane 007556bf08 Remove fixed limit on the number of concurrent AllocateFile() requests. 12 years ago
Tom Lane 6563fb2b45 Fix fd.c to preserve errno where needed. 13 years ago
Heikki Linnakangas 3d009e45bd Add support for piping COPY to/from an external program. 13 years ago
Alvaro Herrera a730183926 Move relpath() to libpgcommon 13 years ago
Heikki Linnakangas 5d6899dbae Fix yet another typo in comment. 13 years ago
Magnus Hagander c572bfaf39 Fix another typo in a comment 13 years ago
Magnus Hagander 733701d274 Fix typo in comment 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Heikki Linnakangas 1f67078ea3 Add OpenTransientFile, with automatic cleanup at end-of-xact. 13 years ago
Tom Lane 9bacf0e373 Revert "Use "transient" files for blind writes, take 2". 13 years ago
Alvaro Herrera 45326c5a11 Split resowner.h 13 years ago
Tom Lane 2d46a57ddc Improve copydir() code for the case that fsync is off. 13 years ago
Tom Lane b966dd6c42 Add fsync capability to initdb, and use sync_file_range() if available. 13 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 13 years ago
Heikki Linnakangas 5762a4d909 Inherit max_safe_fds to child processes in EXEC_BACKEND mode. 14 years ago
Peter Eisentraut 0e85abd658 Clean up compiler warnings from unused variables with asserts disabled 14 years ago
Magnus Hagander 672614cf21 Prevent logging "failed to stat file: success" for temp files 14 years ago
Robert Haas 467ff207f5 Add missing #include, to suppress compiler warning. 14 years ago
Magnus Hagander bc3347484a Track temporary file count and size in pg_stat_database 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane 9473bb96d0 Further thoughts about temp_file_limit patch. 14 years ago
Tom Lane 23e5b16c71 Add temp_file_limit GUC parameter to constrain temporary file space usage. 14 years ago
Alvaro Herrera fba105b109 Use "transient" files for blind writes, take 2 14 years ago
Alvaro Herrera 3d114b63b2 Use a constant sprintf format to silence compiler warning 14 years ago
Alvaro Herrera 9261557eb1 Revert "Use "transient" files for blind writes" 14 years ago
Alvaro Herrera 54d9e8c6c1 Use "transient" files for blind writes 14 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago