Re: closesocket behavior in different platforms

2020-02-04 Thread Amit Kapila
On Thu, Jan 30, 2020 at 9:04 AM Amit Kapila wrote: > > On Wed, Jan 29, 2020 at 8:29 PM Robert Haas wrote: > > > > On Wed, Jan 29, 2020 at 6:04 AM vignesh C wrote: > > > Thanks for your review and suggestion. I have made a patch based on > > > similar lines. Attached patch has the doc update with

Re: closesocket behavior in different platforms

2020-01-29 Thread Amit Kapila
On Wed, Jan 29, 2020 at 8:29 PM Robert Haas wrote: > > On Wed, Jan 29, 2020 at 6:04 AM vignesh C wrote: > > Thanks for your review and suggestion. I have made a patch based on > > similar lines. Attached patch has the doc update with the explanation. > > Thoughts? > > Documenting this doesn't see

Re: closesocket behavior in different platforms

2020-01-29 Thread Robert Haas
On Wed, Jan 29, 2020 at 6:04 AM vignesh C wrote: > Thanks for your review and suggestion. I have made a patch based on > similar lines. Attached patch has the doc update with the explanation. > Thoughts? Documenting this doesn't seem very useful to me. If we could fix the code, that would be usef

Re: closesocket behavior in different platforms

2020-01-29 Thread amul sul
On Wed, Jan 29, 2020 at 4:34 PM vignesh C wrote: > On Tue, Jan 21, 2020 at 11:22 AM Amit Kapila > wrote: > > > > On Fri, Dec 6, 2019 at 11:24 AM vignesh C wrote: > > > [...] > > Thanks for your review and suggestion. I have made a patch based on > similar lines. Attached patch has the doc upd

Re: closesocket behavior in different platforms

2020-01-29 Thread vignesh C
On Tue, Jan 21, 2020 at 11:22 AM Amit Kapila wrote: > > On Fri, Dec 6, 2019 at 11:24 AM vignesh C wrote: > > > > It is noticed that in all the 4 cases the message "FATAL: terminating > > connection due to administrator command" does not appear in windows. > > > > However the following message i

Re: closesocket behavior in different platforms

2020-01-20 Thread Amit Kapila
On Fri, Dec 6, 2019 at 11:24 AM vignesh C wrote: > > It is noticed that in all the 4 cases the message "FATAL: terminating > connection due to administrator command" does not appear in windows. > > However the following message is present in the server log file: > FATAL: terminating connection

closesocket behavior in different platforms

2019-12-05 Thread vignesh C
Hi, In few scenarios the message displayed in psql console is not consistent in windows and linux. The execution results from few scenarios in windows and linux is listed below: In CentOS *After transaction idle timeout*postgres=# SET idle