Re: our friend the win32 system timer. - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: our friend the win32 system timer.
Date
Msg-id 18353.1092697505@sss.pgh.pa.us
Whole thread Raw
In response to our friend the win32 system timer.  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> This means that a table with a timestamp column defaulted to now() and a
> unique constraint on that column will have a very high chance of
> constraint violations.  This might happen when reading in values from a
> script, and it works fine on Linux.

Any application that assumes it will get unique results from now() is
broken by definition.  The fact that it manages not to fail on some
platforms doesn't make it less broken.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: REPOST: InitDB Failure on install
Next
From: "Christian Klemke"
Date:
Subject: Re: our friend the win32 system timer.