Re: pg_resetxlog options - Mailing list pgsql-hackers

From Zeugswetter Andreas DAZ SD
Subject Re: pg_resetxlog options
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D238@m0114.s-mxs.net
Whole thread Raw
In response to pg_resetxlog options  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
>> Some other time maybe. Meanwhile, this patch ought to make it compile
>> more cleanly on Windows - not sure why I get errors there but not
>> Linux.
>
> Because getopt() is normally declared in unistd.h, not getopt.h (Windows
> being an exception?).

getopt is not in any standard Windows headers. The getopt.h header is from mingw
to assist porting (don't know why they didn't put it in unistd.h ?).

Andreas

pgsql-hackers by date:

Previous
From: Reini Urban
Date:
Subject: Re: are there any cons to linking libstdc++ with postgresql?
Next
From: Matt
Date:
Subject: patch: plpgsql - access records with rec.(expr)