Re: autovacuum truncate exclusive lock round two - Mailing list pgsql-hackers

From Tom Lane
Subject Re: autovacuum truncate exclusive lock round two
Date
Msg-id 7643.1354200407@sss.pgh.pa.us
Whole thread Raw
In response to Re: autovacuum truncate exclusive lock round two  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: autovacuum truncate exclusive lock round two  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> On 11/28/2012 3:33 PM, Kevin Grittner wrote:
>> Resetting starttime this way seems especially odd.

> instr_time is LARGE_INTEGER on Win32 but struct timeval on Unix. Is
>      starttime = currenttime;
> portable if those are structs?

Sure.  We rely on struct assignment in lots of places.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: autovacuum truncate exclusive lock round two
Next
From: Jan Wieck
Date:
Subject: Re: autovacuum truncate exclusive lock round two