Re: autovacuum truncate exclusive lock round two

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Grittner <kgrittn(at)mail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila(at)huawei(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: autovacuum truncate exclusive lock round two
Date: 2012-11-29 14:57:16
Message-ID: 50B777CC.8070609@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/29/2012 9:46 AM, Tom Lane wrote:
> Jan Wieck <JanWieck(at)Yahoo(dot)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.

Will be done then.

Thanks,
Jan

--
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-11-29 15:23:26 Re: foreign key locks
Previous Message Tom Lane 2012-11-29 14:46:47 Re: autovacuum truncate exclusive lock round two