Обсуждение: pgsql: Fix timestamp in end-of-recovery WAL records.

Поиск
Список
Период
Сортировка

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

От
Heikki Linnakangas
Дата:
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(-)