Re: pg_restore hangs for en_US.utf8 in the UK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: pg_restore hangs for en_US.utf8 in the UK
Date: 2015-07-16 00:35:49
Message-ID: 16202.1437006949@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk> writes:
> Trying to restore the data after restoring the tables etc. from a pg_dumpall out.sql type file using
> pg_restore -d ***db_database_dump201507131900 -v
> just hangs

pg_dumpall produces a SQL script; you should feed that to psql not
pg_restore.

I'm not sure though why you're seeing it hang; all the versions I have
handy produce some kind of error message when fed a script file.

Hmm ... is that the *whole* command line? If so problem is that it's
patiently waiting for some input on stdin.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Birchall, Austen 2015-07-16 09:59:20 Re: pg_restore hangs for en_US.utf8 in the UK
Previous Message Birchall, Austen 2015-07-15 19:07:15 Re: pg_restore hangs for en_US.utf8 in the UK