On 12/15/2010 07:24 PM, Tom Lane wrote:
>
> So I concur with the previous suggestions:
>
> 1. Make this problem go away by forcing use of our getopt code on
> mingw.
>
> 2. Make sure we reset optreset when using our code. (Probably not
> really necessary, but let's just be careful.)
>
> Should we backpatch either of these things?
>
>
Yes. We need it to back at least to 9.0.
I believe #2 is in fact necessary. When I tried just #1 before it
failed. What's the best way to do #2 cleanly?
cheers
andrew