Обсуждение: 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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f8c51fe6bbb095133e4218170ac70f7b86f928f5

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