[COMMITTERS] pgsql: Avoid assuming that instr_time == struct timeval in pgbench logg

2017-01-01 Thread Tom Lane
Avoid assuming that instr_time == struct timeval in pgbench logging. This code was presuming undue familiarity with the contents of the instr_time struct. That was already broken on Windows, and it's about to get broken on most other platforms as well. The simplest solution that preserves the cu

[COMMITTERS] pgsql: Silence compiler warning

2017-01-01 Thread Magnus Hagander
Silence compiler warning Caused by the backpatch of f650882 past the point where interrupt handling was changed. Noted by Dean Rasheed Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/f832a1e9e9a889c1c08a60db5520327bc0569fd6 Modified Files -- src/

Re: [COMMITTERS] pgsql: Fix base backup rate limiting in presence of slow i/o

2017-01-01 Thread Magnus Hagander
On Thu, Dec 22, 2016 at 11:10 AM, Dean Rasheed wrote: > On 21 December 2016 at 20:20, Magnus Hagander wrote: > > On Wed, Dec 21, 2016 at 6:55 PM, Dean Rasheed > >> basebackup.c: In function ‘throttle’: > >> basebackup.c:1284:8: warning: variable ‘wait_result’ set but not used > >> [-Wunused-but