Filter:

Commits in week 16 (Apr 12 - Apr 18, 2010)

Commits8 commits of which 1 backported
0Author
8Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedOn Windows, syslogger runs in two threads. The main thread processes config reload and rotation signals, and a helper thread reads messages from the pipe and writes them to the log file. However, server code isn't generally thread-safe, so if both try to do e.g palloc()/pfree() at the same time, bad things will happen. To fix that, use a critical section (which is like a mutex) to enforce that only one the threads are active at a time.
961ad3fd
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+13 more
No linked threadApr 16, 2010
CommitterIn standby mode, suppress repeated LOG messages about a corrupt record, which just indicates that we've reached the end of valid WAL found in the standby.
78974cfb
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 16, 2010
CommitterFix typo, spotted by Erik Rijkers.
95eaea4c
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 15, 2010
CommitterAllow Hot Standby to begin from a shutdown checkpoint.
361bd166
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 13, 2010
CommitterUpdate the location of last removed WAL segment in shared memory only after actually removing one, so that if we can't remove segments because WAL archiving is lagging behind, we don't unnecessarily forbid streaming the old not-yet-archived segments that are still perfectly valid. Per suggestion from Fujii Masao.
30556568
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 12, 2010
CommitterNeed to use the start pointer of a block we read from WAL segment in the calculation, not the end pointer, as pointed out by Fujii Masao.
258174b4
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 12, 2010
CommitterAdjust paragraph about monitoring streaming replication, now that we have standby_keep_segments.
e76b4e0d
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 12, 2010
CommitterChange the logic to decide when to delete old WAL segments, so that it doesn't take into account how far the WAL senders are. This way a hung WAL sender doesn't prevent old WAL segments from being recycled/removed in the primary, ultimately causing the disk to fill up. Instead add standby_keep_segments setting to control how many old WAL segments are kept in the primary. This also makes it more reliable to use streaming replication without WAL archiving, assuming that you set standby_keep_segments high enough.
e57cd7f0
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 12, 2010