Re: [HACKERS][PATCH] adding simple sock check for windows

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: CharSyam <charsyam(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS][PATCH] adding simple sock check for windows
Date: 2018-03-31 10:33:07
Message-ID: CAA4eK1Jzvycx373iTqiAKFUghxj3-Z1adCuVa536KzdZo7HqBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 31, 2018 at 12:05 PM, CharSyam <charsyam(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arthur Zakirov 2018-03-31 10:42:31 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message legrand legrand 2018-03-31 09:35:39 Re: Planning counters in pg_stat_statements