Re: cant get pg_dump/pg_restore to behave

From: "Mike Frysinger" <vapier(dot)adi(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: cant get pg_dump/pg_restore to behave
Date: 2007-04-20 10:35:24
Message-ID: 8bd0f97a0704200335m73a7033cpb1f82aff21acd933@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/20/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Mike Frysinger" <vapier(dot)adi(at)gmail(dot)com> writes:
> > $ pg_dump -F c -s -d database-server mydb > mydb.schema
> > $ psql -d mydb < mydb.schema
> > <error about users_idx not existing>
>
> pg_dump -Fc does not produce a file that psql can read directly.
> Is the above really what you did?

i was experimenting with using pg_dump/pg_restore and pg_dump/psql ...
when using psql to import, i didnt use -Fc ... but the errors were the
same regardless of whether i used pgsl or pg_restore ;(
-mike

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-04-20 11:01:29 Re: Need help with db script, and daily routines
Previous Message Tilmann Singer 2007-04-20 10:21:51 Re: tsearch2 dictionary that indexes substrings?