Re: pg_restore: warning: invalid creation date in header

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore: warning: invalid creation date in header
Date: 2021-06-12 23:57:24
Message-ID: 58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 6/12/21 6:47 PM, Wells Oliver wrote:
> These are the first lines when trying to restore a dump created on a
> machine in the PDT time zone, into a machine in UTC. Not sure if it
> matters, but I wanted to ask.
>
> pg_restore: warning: invalid creation date in header
> pg_restore: while PROCESSING TOC:

Given that it's just a warning, did the restore complete?

As for the reason... since PDT is -7 to UTC, I bet the creation date is
*less than* the clock date, which pg_restore warns about.

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2021-06-12 23:59:17 Re: pg_restore: warning: invalid creation date in header
Previous Message Wells Oliver 2021-06-12 23:47:24 pg_restore: warning: invalid creation date in header