Re: pg_restore: warning: invalid creation date in header

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore: warning: invalid creation date in header
Date: 2021-06-12 23:59:17
Message-ID: CAOC+FBXLMUW2dqpckEXKsK7Y_r7gsYhXJ78m6vdGtqRXM_JOmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

That's what I figured. Restore looks fine. Just hadn't seen that before
(but also never had restored a PDT backup to a UTC machine). Just wanted to
check.

On Sat, Jun 12, 2021 at 4:57 PM Ron <ronljohnsonjr(at)gmail(dot)com> wrote:

> 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.
>

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nikhil Shetty 2021-06-13 12:43:28 Re: vacuumdb idle processes
Previous Message Ron 2021-06-12 23:57:24 Re: pg_restore: warning: invalid creation date in header