Filter:

Commits in February 2010

Commits22 commits of which 2 backported
0Author
22Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterDocument max_standby_delay=-1 option, now that it's allowed again.
7ab9305c
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 27, 2010
CommitterClarify that the connection string for primary_conninfo is in the same format as in PQconnectdb(). As pointed out by Thom Brown.
0a4807dd
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterFix typo.
6e11a10c
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterSmall streaming replication document improvements. Be more explicit that it's asynchronous.
7c6c09c0
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterFix streaming replication starting at the very first WAL segment. Per complaint from Greg Stark.
cd2b7d3c
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterMove documentation of all recovery.conf option to a new chapter. They used to be scattered between the "backup and restore" and "streaming replication" chapters.
3229db2d
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 22, 2010
CommitterDon'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.
ad458cfe
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 19, 2010
CommitterForbid setval() during recovery. This prevents the PANIC reported by Erik Rijkers. Patch by Andres Freund.
94f610b1
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 19, 2010
CommitterFix pq_getbyte_if_available() function. It was confused on what it returns if no data is immediately available. Patch by me with numerous fixes from Fujii Masao and Magnus Hagander.
3e87ba6e
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 18, 2010
CommitterUpdate Hot Standby documentation to reflect the change in the LOG messages printed at startup. As pointed out by Simon Riggs.
a5348faf
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterReduce the chatter to the log when starting a standby server. Don't echo all the recovery.conf options. Don't emit the "initializing recovery connections" message, which doesn't mean anything to a user. Remove the "starting archive recovery" message and replace the "automatic recovery in progress" message with a more informative message saying whether the server is doing PITR, normal archive recovery, or standby mode.
e465390d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterClean up Streaming Replication documentation a little bit. A lot more needs to be done, but it's a step forward..
1026be15
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterIf primary_conninfo is not set, don't try to establish streaming connection.
54cbd175
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterCheck for partial WAL files in standby mode. If restore_command restores a partial WAL file, assume it's because the file is just being copied to the archive and treat it the same as "file not found" in standby mode. pg_standby has a similar check, so it seems reasonable to have the same level of protection in the built-in standby mode.
9fa01f6c
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterNow that streaming replication switches between streaming mode and restoring from archive, the last WAL segment is not necessarily open at the end of recovery. Fix assertion that assumed that.
161d9d51
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 10, 2010
CommitterBackportedFix bug in GIN WAL redo cleanup function: don't free fake relcache entry while it's still being used.
79647eed
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 09, 2010
CommitterMove "Warm Standby Servers for High Availability" and "Hot Standby" sections under "High Availability, Load Balancing, and Replication" chapter. Streaming replication chapter needs a lot more work, but this commit just moves things around.
8740fe71
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 09, 2010
CommitterBackportedRemove obsolete comment about 'fsm' argument, which isn't an argument anymore.
4d3d2e2b
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 08, 2010
CommitterRemove piece of code to zero out minRecoveryPoint when starting crash recovery. It's zeroed out whenever a checkpoint is written, so the only scenario where the removed code did anything is when you kill archive recovery, remove recovery.conf, and start up the server, so that it goes into crash recovery instead. That's a "don't do that" scenario, but it seems better to not clear minRecoveryPoint but instead update it like we do in archive recovery, which is what will now happen.
4cea6031
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterAdd a note to the documentation of pg_standby that it's important that the postgres process has permissions to delete the trigger file, per suggestion by Mason Hale.
a085a6a7
REL8_3_STABLE8.3.10
No linked threadFeb 05, 2010
CommitterMove the responsibility of writing a "unlogged WAL operation" record from heap_sync() to the callers, because heap_sync() is sometimes called even if the operation itself is WAL-logged. This eliminates the bogus unlogged records from CLUSTER that Simon Riggs reported, patch by Fujii Masao.
9de778b2
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010
CommitterAdd a message type header to the CopyData messages sent from primary to standby in streaming replication. While we only have one message type at the moment, adding a message type header makes this easier to extend.
808969d0
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010