Re: Streaming Replication on win32
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Fujii Masao <masao.fujii@gmail.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-02-15T16:21:04Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > I changed your patch to this, because I find it a lot simpler. The > change is in the checking in pgwin32_recv - there is no need to ever > call waitforsinglesocket, we can just exit out early. > Do you see any issue with that? This definitely looks cleaner, but is there a reason not to use bool instead of int here? regards, tom lane