Commit Graph

19 Commits (9ad45c18b6c8d03ce18a26223eb0d15e900c7a2c)

Author SHA1 Message Date
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 14 years ago
Tom Lane e42a21b9e6 Assert that WaitLatchOrSocket callers cannot wait only for writability. 14 years ago
Tom Lane 31ad655364 Fix WaitLatchOrSocket to handle EOF on socket correctly. 14 years ago
Tom Lane f40022f1ad Make WaitLatch's WL_POSTMASTER_DEATH result trustworthy; simplify callers. 14 years ago
Heikki Linnakangas b2b4af535e Fix poll() implementation of WaitLatchOrSocket to notice postmaster death. 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane a180776f7a Teach unix_latch.c to use poll() where available. 15 years ago
Tom Lane 4dab3d5ae1 Change the autovacuum launcher to use WaitLatch instead of a poll loop. 15 years ago
Tom Lane 9f17ffd866 Measure WaitLatch's timeout parameter in milliseconds, not microseconds. 15 years ago
Tom Lane 4e15a4db5e Documentation improvement and minor code cleanups for the latch facility. 15 years ago
Heikki Linnakangas 89fd72cbf2 Introduce a pipe between postmaster and each backend, which can be used to 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Heikki Linnakangas 754baa21f7 Automatically terminate replication connections that are idle for more 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Heikki Linnakangas 236b6bc29e Simplify Windows implementation of latches. There's no need to keep a 15 years ago
Heikki Linnakangas c1ba7db6c1 Add a comment noting that the owner_pid test in OwnLatch is just a sanity 15 years ago
Heikki Linnakangas 262c71ab63 Add missing #includes, needed on some platforms. This should make 15 years ago
Heikki Linnakangas 2746e5f21d Introduce latches. A latch is a boolean variable, with the capability to 15 years ago