pgsql: Fix timestamp in end-of-recovery WAL records. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix timestamp in end-of-recovery WAL records.
Date
Msg-id E1Y1z9W-0003st-3s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix timestamp in end-of-recovery WAL records.

We used time(null) to set a TimestampTz field, which gave bogus results.
Noticed while looking at pg_xlogdump output.

Backpatch to 9.3 and above, where the fast promotion was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5c805d0a813e6c611485bfc9bde9d2a10d1800e5

Modified Files
--------------
src/backend/access/transam/xlog.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix timestamp in end-of-recovery WAL records.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: pg_event_trigger_dropped_objects: add behavior flags