Re: tracking commit timestamps - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: tracking commit timestamps
Date
Msg-id CAB7nPqTF2b00kFZghaF=OFfnzY4G-JrcqnmyGj9Hm4cvXq6keQ@mail.gmail.com
Whole thread Raw
In response to Re: tracking commit timestamps  (Noah Misch <noah@leadboat.com>)
Responses Re: tracking commit timestamps
Re: tracking commit timestamps
List pgsql-hackers
On Fri, Dec 19, 2014 at 3:53 PM, Noah Misch <noah@leadboat.com> wrote:
> localhost template1=# select clock_timestamp(), pg_sleep(.1 * (n % 2)) from generate_series(0,7) t(n);
>         clock_timestamp        | pg_sleep
> -------------------------------+----------
>  2014-12-18 08:34:34.522126+00 |
>  2014-12-18 08:34:34.522126+00 |
>  2014-12-18 08:34:34.631508+00 |
>  2014-12-18 08:34:34.631508+00 |
>  2014-12-18 08:34:34.74089+00  |
>  2014-12-18 08:34:34.74089+00  |
>  2014-12-18 08:34:34.850272+00 |
>  2014-12-18 08:34:34.850272+00 |
> (8 rows)
So, we would need additional information other than the node ID *and*
the timestamp to ensure proper transaction commit ordering on Windows.
That's not cool and makes this feature very limited on this platform.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: TABLESAMPLE patch
Next
From: Amit Langote
Date:
Subject: Re: Patch to add functionality to specify ORDER BY in CREATE FUNCTION for SRFs