Commit Graph

324 Commits (5a90bc1fbe829e04d319388b54b76c7a0fe36b58)

Author SHA1 Message Date
Bruce Momjian 5a90bc1fbe The attached patch contains a couple of fixes in the existing probes and 17 years ago
Heikki Linnakangas b457b2a24e If pg_stop_backup() is called just after switching to a new xlog file, 17 years ago
Tom Lane 1d577f5e49 Add a startup check that pg_xlog and pg_xlog/archive_status exist. 17 years ago
Heikki Linnakangas 19c8dc839b Unite ReadBufferWithFork, ReadBufferWithStrategy, and ZeroOrReadBuffer 17 years ago
Tom Lane 2314baef38 Fix recoveryLastXTime logic so that it actually does what one would expect. 17 years ago
Heikki Linnakangas 61d9674988 Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 17 years ago
Tom Lane ead21631e8 Fix a couple of problems pointed out by Fujii Masao in the 2008-Apr-05 patch 18 years ago
Heikki Linnakangas 3f0e808c4a Introduce the concept of relation forks. An smgr relation can now consist 18 years ago
Tom Lane 9d035f4254 Clean up the use of some page-header-access macros: principally, use 18 years ago
Bruce Momjian 6b797c852b Fix recovery.conf boolean variables to take the same range of string 18 years ago
Heikki Linnakangas a213f1ee6c Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation 18 years ago
Alvaro Herrera cc87402d6e Move BufferGetPageSize and BufferGetPage from bufpage.h to bufmgr.h. It is 18 years ago
Magnus Hagander 8eee526c19 Set hidden field for guc enum missed in previous commit. 18 years ago
Tom Lane 1a604b4e31 Fix a subtle bug exposed by recent wal_sync_method rearrangements. 18 years ago
Tom Lane 8a2f5d221b Reduce unnecessary PANIC to ERROR, improve a couple of comments. 18 years ago
Magnus Hagander 9bf1db04c0 Remove the special variable for open_sync_bit used in O_SYNC and O_DSYNC 18 years ago
Magnus Hagander 72e2db86b9 Don't try to close negative file descriptors, since this can cause 18 years ago
Magnus Hagander aa82790fca Fix breakage by the wal_sync_method patch in installations that use 18 years ago
Alvaro Herrera 9084399782 Put back bufmgr.h in bufpage.h -- it is needed by some macros. 18 years ago
Magnus Hagander 2739a4e1d2 Report which WAL sync method we are trying to change *to* when it fails, 18 years ago
Magnus Hagander f99760c19f Convert wal_sync_method to guc enum. 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Heikki Linnakangas c5f42ce8d5 Fix Assert introduced in previous patch. 18 years ago
Heikki Linnakangas f0eb3e5e58 Fix incorrect archive truncation point calculation in the %r recovery_command 18 years ago
Magnus Hagander 380d1ee69e Update error messages, per notes from Tom. 18 years ago
Magnus Hagander c979a1fefa Prevent shutdown in normal mode if online backup is running, and 18 years ago
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane d1cbd26ded Repair two places where SIGTERM exit could leave shared memory state 18 years ago
Bruce Momjian 2a1cf97c22 Have pg_stop_backup() wait for all archive files to be sent, rather than 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 2fc2795456 Remove no-longer-used XLogCacheByte field of XLogCtl. 18 years ago
Tom Lane cd00406774 Replace time_t with pg_time_t (same values, but always int64) in on-disk 18 years ago
Peter Eisentraut 6f8f8d2daa Provide a clearer error message if the pg_control version number looks 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian f6e8730d11 Re-run pgindent with updated list of typedefs. (Updated README should 18 years ago
Peter Eisentraut b30769ee54 When logging the recovery.conf parameters, show them quoted as they would 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 6cc4451b5c Prevent re-use of a deleted relation's relfilenode until after the next 18 years ago
Tom Lane 5c8eb929e6 When telling the bgwriter that we need a checkpoint because too much xlog 18 years ago
Tom Lane ab051bd293 Adjust recovery PS display as agreed with Simon: 'waiting for XXX' 18 years ago
Tom Lane 77ccbe64dd Make recovery show the current input WAL segment name in the startup 18 years ago
Tom Lane b46bd55a6c Make archive recovery always start a new timeline, rather than only when a 18 years ago
Tom Lane f18dfc4835 Minor improvements in backup and recovery: 18 years ago
Tom Lane 6bd4f401b0 Replace the former method of determining snapshot xmax --- to wit, calling 19 years ago
Tom Lane 295e63983d Implement lazy XID allocation: transactions that do not modify any database 19 years ago
Tom Lane a52e4408b9 Add a debug logging message when a resource manager rejects an attempted 19 years ago
Tom Lane 647fd9a108 Fix two bugs induced in VACUUM FULL by async-commit patch. 19 years ago
Tom Lane bdd6b62245 Switch over to using the src/timezone functions for formatting timestamps 19 years ago
Tom Lane 4a78cdeb6b Support an optional asynchronous commit mode, in which we don't flush WAL 19 years ago
Tom Lane ad4295728e Create a new dedicated Postgres process, "wal writer", which exists to write 19 years ago