Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Corinna Vinschen
On Jun 28 23:04, Sean McCune wrote: More useful info: (and yes I'm replying to my own message) I spelunked through the source code and found this in times.cc: LONGLONG hires_ms::usecs (bool justdelta) { if (!minperiod) /* NO_COPY variable */ prime (); DWORD now = timeGetTime

Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Sean McCune
Great! I was going to start work on a fix, too, but ran into cygwin building problems, so you beat me to it. Thanks! I have the snapshot running. And postgres is keeping time. I haven't looked at your source yet, but I assume there's still an independent counter running and you're resetting

Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-06-28 Thread Sean McCune
More useful info: (and yes I'm replying to my own message) I spelunked through the source code and found this in times.cc: LONGLONG hires_ms::usecs (bool justdelta) { if (!minperiod) /* NO_COPY variable */ prime (); DWORD now = timeGetTime (); // FIXME: Not sure how this will handle