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-05-04 08:59:45
Message-ID: 8bd0f97a0705040159vd61b548p9859b9e2236df09f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/4/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> There are several obvious things wrong with that (eg, psql cannot read
> -Fc format dumps) so I suppose it's an editorialization on what you
> really typed.

right, what i posted was a typo, what i ran did not have the -Fc

> Perhaps the problem is hidden there. Can you show us an
> *exact* transcript of a failing session?

[postgres(at)backup 0 ~]$ psql -q
postgres=# DROP DATABASE gforge5;
postgres=# CREATE DATABASE gforge5 WITH TEMPLATE = template0 ENCODING = 'UTF8';
postgres=#
[postgres(at)backup 0 ~]$ psql -d gforge5 -f gforge.schema
SET
SET
SET
COMMENT
CREATE LANGUAGE
SET
psql:gforge.schema:31: ERROR: could not access file
"$libdir/tsearch2": No such file or directory
psql:gforge.schema:34: ERROR: function public.gtsvector_in(cstring)
does not exist
psql:gforge.schema:42: ERROR: type gtsvector does not exist
...
-mike

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Frysinger 2007-05-04 09:02:00 Re: cant get pg_dump/pg_restore to behave
Previous Message Alban Hertroys 2007-05-04 08:55:12 Re: Have I b0rked something? Slow comparisons on "where x in (...)"