Re: Problem with ControlFileData structure being ABI dependent

From: "Trevor Talbot" <quension(at)gmail(dot)com>
To: "Dave Page" <dpage(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Rainer Bauer" <usenet(at)munnin(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem with ControlFileData structure being ABI dependent
Date: 2007-12-07 12:19:53
Message-ID: 90bce5730712070419r4d31083dqe816861b4ce5f803@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/7/07, Dave Page <dpage(at)postgresql(dot)org> wrote:
> Tom Lane wrote:

> > AFAIK, time_t is a Unix-ism, so it's pretty unlikely to be used in the
> > APIs of anything on Windows.

> Oh, it is.

It's confined to the C Runtime libraries, not part of the Windows API
proper. (Three exceptions: IP Helper uses the type, but the docs
contain a warning; a DHCP API that came along after the change to
64bit; an obsoleted Wbem class library for C++.)

The CRT has been causing compatibility problems in mixed-tools
projects for years. I find Microsoft's incessant changes so irritating
that I go out of my way to avoid using it in any project I intend to
deploy. It's just one of those things you end up having to deal with
somehow :(

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hubert FONGARNAND 2007-12-07 12:40:40 Re: pg_dump and BINARY mode COPY
Previous Message Dave Page 2007-12-07 11:49:28 Re: Problem with ControlFileData structure being ABI dependent