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
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/
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