RE: Timeout parameters - Mailing list pgsql-hackers

From Nagaura, Ryohei
Subject RE: Timeout parameters
Date
Msg-id EDA4195584F5064680D8130B1CA91C453EBD37@G01JPEXMBYT04
Whole thread Raw
In response to RE: Timeout parameters  ("Jamison, Kirk" <k.jamison@jp.fujitsu.com>)
List pgsql-hackers
Hi, kirk-san.

> From: Jamison, Kirk <k.jamison@jp.fujitsu.com>
> $ git apply ../socket_timeout_v5.patch
> fatal: corrupt patch at line 24
> --> l24: diff --git a/src/interfaces/libpq/fe-connect.c
> --> b/src/interfaces/libpq/fe-connect.c
How about applying by "patch -p1"?
I have confirmed that my patch could be applied in that way while not confirmed using "git apply" command.

> a. Use parse_int_param instead of atoi
> >+        conn->socket_timeout = atoi(conn->pgsocket_timeout);
This is my bad. I'll remake it.
Very sorry for the same mistake.


Best regards,
---------------------
Ryohei Nagaura 



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: crosstab/repivot...any interest?
Next
From: Andres Freund
Date:
Subject: Re: POC: converting Lists into arrays