Re: error msg when pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "nuno" <wegein(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error msg when pg_restore
Date: 2006-08-22 21:24:10
Message-ID: 11891.1156281850@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"nuno" <wegein(at)gmail(dot)com> writes:
> when i restore a database (using a backup file), it shows me some error
> messages which do not seem to matter at all (there is no data lost in
> the database, and maybe they're just warning messages...).

> pg_restore: [archiver (db)] could not execute query: ERROR: function
> public.plp
> gsql_validator(oid) does not exist
> Command was: DROP FUNCTION public.plpgsql_validator(oid);

Apparently you're using the -c option when there's not really anything
that needs dropping. -c is for removing existing copies of the database
objects you're restoring.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Don Isgitt 2006-08-22 21:24:46 pl/R problem
Previous Message Tom Lane 2006-08-22 21:21:12 Re: using deferred initially deferred to solve foreign key checking issues