Re: Failed to restore/recreate database (one more piece of info)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Failed to restore/recreate database (one more piece of info)
Date: 2009-11-16 18:42:21
Message-ID: 23695.1258396941@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu> writes:
> Now that I am thinking, maybe the file made by pg_dumpall has
> "canon" encoded and therefore what I did logically did not copy
> any canon tables into musket? Could this be the case?

Yup, exactly. It would have created canon and restored into that.

> If so, how would I duplicate an existing database and call it
> with a different name?

Use pg_dump not pg_dumpall.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kasia Tuszynska 2009-11-17 00:59:31 Differences in installing Postgres 8.3.8
Previous Message Tena Sakai 2009-11-16 17:26:32 Failed to restore/recreate database (one more piece of info)