Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YPILr-0002We-9c for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2015 22:16:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YPILq-0007NF-Ku for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2015 22:16:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YPILp-0007N9-V6 for pgsql-bugs@postgresql.org; Sat, 21 Feb 2015 22:16:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YPILn-0007gU-9M for pgsql-bugs@postgresql.org; Sat, 21 Feb 2015 22:16:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t1LMGVVr030166; Sat, 21 Feb 2015 17:16:31 -0500 From: Tom Lane To: Robert Haas cc: Michael Paquier , Asif Naeem , Andres Freund , Alvaro Herrera , "pgsql-bugs@postgresql.org" Subject: Re: gettimeofday cause crash on Windows In-reply-to: References: <20150212125412.GA9449@alap3.anarazel.de> <20150212131316.GB9449@alap3.anarazel.de> <20150212151403.GJ3391@alvh.no-ip.org> <20150212175305.GD9449@alap3.anarazel.de> Comments: In-reply-to Robert Haas message dated "Sat, 21 Feb 2015 13:59:16 -0500" Date: Sat, 21 Feb 2015 17:16:31 -0500 Message-ID: <30165.1424556991@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Robert Haas writes: > I assume that the problem here must be whatever secret sauce WINAPI > pours on the declaration. A bit of googling says that that expands to _stdcall which is not like _cdecl. I tried fixing this blindly; might not work, but it can't be any more broken. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs