pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Asif Naeem <anaeem.it@gmail.com>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: gettimeofday cause crash on Windows
Date: Sat, 21 Feb 2015 17:16:31 -0500
Message-ID: <30165.1424556991@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+Tgmoa-ec6xc_W0o5uAeV+=Hk5uLxQCg1ofQxOgH4ktH60AXg@mail.gmail.com>
References: <CAEB4t-NQ4gSnFC8GfDgAeLx-rKm4-LwtUQMp-TdC6u_xRZdv1A@mail.gmail.com>
	<CAB7nPqTUVZSz0JxvQ6wJT3LKd5hrNTeC7Kv=97pC=rPFJFPhFg@mail.gmail.com>
	<20150212125412.GA9449@alap3.anarazel.de>
	<CAB7nPqRwBtN-AZhXL=gqLipiq-ASDg=cYREDPQrsLQ0VA93ZAA@mail.gmail.com>
	<20150212131316.GB9449@alap3.anarazel.de>
	<CAEB4t-M7Ap2z8mNrE264yxwT4-0oqJ3acuKETFhZQ6gOzRi8yQ@mail.gmail.com>
	<20150212151403.GJ3391@alvh.no-ip.org>
	<20150212175305.GD9449@alap3.anarazel.de>
	<CAEB4t-Pv46Mvx9FxjYw8CumdUFFbuqn1BAJfjc7RHudfNn-nJw@mail.gmail.com>
	<CAB7nPqSfCEyPZRk40JUKvvOX==WgiDwsP75VMFRT8eRKZ+ak_A@mail.gmail.com>
	<CA+TgmobKLsyLZnShmAdQ=d+pSDE0iU+nkKt9DxQdeReSky97BQ@mail.gmail.com>
	<CA+TgmoaCzvaFEFLHGH=o4vi90zZooh_NtOt-uEu_NAex7QVfdA@mail.gmail.com>
	<CA+Tgmoa-ec6xc_W0o5uAeV+=Hk5uLxQCg1ofQxOgH4ktH60AXg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Robert Haas <robertmhaas@gmail.com> 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



view thread (16+ messages)

Message-ID: <30165.1424556991@sss.pgh.pa.us>
Permalink:  ../30165.1424556991@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30165.1424556991@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, michael.paquier@gmail.com, anaeem.it@gmail.com, andres@2ndquadrant.com, alvherre@2ndquadrant.com
  Subject: Re: gettimeofday cause crash on Windows
  In-Reply-To: <30165.1424556991@sss.pgh.pa.us>
  References: <CAEB4t-NQ4gSnFC8GfDgAeLx-rKm4-LwtUQMp-TdC6u_xRZdv1A@mail.gmail.com> <CAB7nPqTUVZSz0JxvQ6wJT3LKd5hrNTeC7Kv=97pC=rPFJFPhFg@mail.gmail.com> <20150212125412.GA9449@alap3.anarazel.de> <CAB7nPqRwBtN-AZhXL=gqLipiq-ASDg=cYREDPQrsLQ0VA93ZAA@mail.gmail.com> <20150212131316.GB9449@alap3.anarazel.de> <CAEB4t-M7Ap2z8mNrE264yxwT4-0oqJ3acuKETFhZQ6gOzRi8yQ@mail.gmail.com> <20150212151403.GJ3391@alvh.no-ip.org> <20150212175305.GD9449@alap3.anarazel.de> <CAEB4t-Pv46Mvx9FxjYw8CumdUFFbuqn1BAJfjc7RHudfNn-nJw@mail.gmail.com> <CAB7nPqSfCEyPZRk40JUKvvOX==WgiDwsP75VMFRT8eRKZ+ak_A@mail.gmail.com> <CA+TgmobKLsyLZnShmAdQ=d+pSDE0iU+nkKt9DxQdeReSky97BQ@mail.gmail.com> <CA+TgmoaCzvaFEFLHGH=o4vi90zZooh_NtOt-uEu_NAex7QVfdA@mail.gmail.com> <CA+Tgmoa-ec6xc_W0o5uAeV+=Hk5uLxQCg1ofQxOgH4ktH60AXg@mail.gmail.com> <30165.1424556991@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox