pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: pg_restore: warning: invalid creation date in header
Date: Sat, 12 Jun 2021 18:57:24 -0500
Message-ID: <58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com> (raw)
In-Reply-To: <CAOC+FBWDhDHO7G-i1_n_hjRzCnUeFO+H-Czi1y10mFhRWpBrew@mail.gmail.com>
References: <CAOC+FBWDhDHO7G-i1_n_hjRzCnUeFO+H-Czi1y10mFhRWpBrew@mail.gmail.com>

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.

view thread (11+ messages)  latest in thread

Message-ID: <58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com>
Permalink:  ../58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com/
Also on:    postgresql.org/message-id/58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_restore: warning: invalid creation date in header
  In-Reply-To: <58342210-77b5-421a-30ed-a0a47570c7e6@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox