Re: dump - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: dump
Date
Msg-id Pine.LNX.4.30.0107092312330.677-100000@peter.localdomain
Whole thread Raw
In response to dump  ("Matt Block" <matt@blockdev.net>)
Responses Syncing multple servers
List pgsql-general
Matt Block writes:

> [prompt]$ pg_dump -s smile
> NOTICE:  Unrecognized variable client_encoding
> getTables(): relation 'users': cannot find function with oid 1644 for
> trigger RI_ConstraintTrigger_196192

The notice indicates that you are using a pg_dump with multibyte support
and a server without.  That's no problem by itself, but it could be a hint
that you have a version mismatch beyond that.

The function with the oid 1644 should be built-in.  Grepping the source
code for the error message I have reasons to believe that you are using
pg_dump from PostgreSQL 6.5, which to no surprise cannot handle
referential integrity (which was added in 7.0).  The solution would be to
use pg_dump from PostgreSQL 7.0.* or 7.1.2 or later (not in between).

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [DOCS] QUERY - Including the new LDP PostgreSQL HOWTO in the main PostgreSQL distribution
Next
From: Peter Eisentraut
Date:
Subject: Re: index skipped in favor of seq scan.