Thanks Amit. I had a mistake. Thank you again to point it out :)
2018-03-31 19:33 GMT+09:00 Amit Kapila <amit.kapil...@gmail.com>: > On Sat, Mar 31, 2018 at 12:05 PM, CharSyam <chars...@gmail.com> wrote: >> Amit, I agree with you. >> >> I changed my patch :) to remove old check. >> > > - if (slot->sock < 0) > + if (slot->sock == PGINVALID_SOCKET || slot->sock < 0) > > I still see the same check. I think by mistake you have attached old patch. > > -- > With Regards, > Amit Kapila. > EnterpriseDB: http://www.enterprisedb.com
simple_check.patch
Description: Binary data