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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix timestamp in end-of-recovery WAL records.
Дата
Msg-id E1Y1z9W-0003sw-43@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Prevent potentially hazardous compiler/cpu reordering during lwl
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix timestamp in end-of-recovery WAL records.