git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b999c24) | patch
Use latch instead of select() in walreceiver
2016年11月30日 17:00:00 +0000 (12:00 -0500)
Fri, 2 Dec 2016 01:23:28 +0000 (20:23 -0500)
commit 597a87ccc9a6fa8af7f3cf280b1e24e41807d555
Use latch instead of select() in walreceiver

Replace use of poll()/select() by WaitLatchOrSocket(), which is more
portable and flexible.

Also change walreceiver to use its procLatch instead of a custom latch.

From: Petr Jelinek <petr@2ndquadrant.com>
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c diff | blob | blame | history
src/backend/replication/walreceiver.c diff | blob | blame | history
src/backend/replication/walreceiverfuncs.c diff | blob | blame | history
src/include/pgstat.h diff | blob | blame | history
src/include/replication/walreceiver.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /