Re: autovacuum truncate exclusive lock round two
Jan Wieck <janwieck@yahoo.com>
From: Jan Wieck <JanWieck@Yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kevin Grittner <kgrittn@mail.com>, Alvaro Herrera <alvherre@2ndquadrant.com>, Amit Kapila <amit.kapila@huawei.com>, Stephen Frost <sfrost@snowman.net>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2012-11-29T14:57:16Z
Lists: pgsql-hackers
On 11/29/2012 9:46 AM, Tom Lane wrote: > 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. Will be done then. Thanks, Jan -- Anyone who trades liberty for security deserves neither liberty nor security. -- Benjamin Franklin