Filter:

Commits in September 2010

Commits12 commits of which 4 backported
0Author
12Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedInitialize tableoid field correctly when dumping foreign data wrappers and servers. AFAICT it's harmless at the moment because nothing can depend on either, but as soon as we introduce an object type with such dependencies, tableoid needs to be set or pg_dump will fail to interpret the dependencies correctly. In theory, I guess the uninitialized garbage in tableoid could cause the object to be mistaken for some other object with same OID as well.
7e8c25c6
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+11 more
No linked threadSep 23, 2010
CommitterFix two typos in comments, spotted by Fujii Masao and Thom Brown
79b54816
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 15, 2010
CommitterUse a latch to make startup process wake up and replay immediately when new WAL arrives via streaming replication. This reduces the latency, and also allows us to use a longer polling interval, which is good for energy efficiency.
723d0184
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 15, 2010
CommitterSimplify Windows implementation of latches. There's no need to keep a dynamic pool of event handles, we can permanently assign one for each shared latch. Thanks to that, we no longer need a separate shared memory block for latches, and we don't need to know in advance how many shared latches there is, so you no longer need to remember to update NumSharedLatches when you introduce a new latch to the system.
236b6bc2
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 15, 2010
CommitterDon't call OwnLatch while holding a spinlock. OwnLatch can elog() under some "can't happen" scenarios, and spinlocks should only be held for a few instructions anyway. As pointed out by Fujii Masao.
1eab7a56
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 15, 2010
CommitterOops, the timeout argument to WaitLatchOrSocket is in microseconds, not milliseconds.
3522217b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 14, 2010
CommitterBackportedDon't warn about an in-progress online backup, when we're recovering from an online backup instead of performing one. pg_ctl can detect that by checking if recovery.conf exists.
06e8c8e3
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 14, 2010
CommitterAdd a comment noting that the owner_pid test in OwnLatch is just a sanity check, per request by Jeff Davis.
c1ba7db6
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 13, 2010
CommitterBackportedRemove prototype for non-existent function from walreceiver.h. Tidy up by separating prototypes for functions in walreceiver.c and walreceiverfuncs.c with comments.
d1c33ccf
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 13, 2010
CommitterBackportedProcess options from the startup packed in walsender. Only few options make sense for walsender, but for example application_name and client_encoding do. We still don't apply per-role settings from pg_db_role_setting, because that would require connecting to a database to read the table.
418039d3
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 13, 2010
CommitterAdd missing #includes, needed on some platforms. This should make the unixware buildfarm animals happy again.
262c71ab
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 11, 2010
CommitterIntroduce latches. A latch is a boolean variable, with the capability to wait until it is set. Latches can be used to reliably wait until a signal arrives, which is hard otherwise because signals don't interrupt select() on some platforms, and even when they do, there's race conditions.
2746e5f2
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 11, 2010