dbTalk Databases Forums  

problems with pg_restore to 7.3.3 db

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss problems with pg_restore to 7.3.3 db in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
andy morrow
 
Posts: n/a

Default problems with pg_restore to 7.3.3 db - 07-02-2003 , 09:16 AM






hi,

fairly new to postgres admin stuff......

i have a production machine that is running postgresql 7.1.3
also, there's a test machine which already had 7.0.3, and which i newly
installed 7.3.3

so, i dumped all the databases from the production db and reloaded on the
test,
there was a few problems but only small ones and i sorted them out ok, but
one of the databases has large objects in it, so the dumpall wont dump the
large objects,
so, i made a dump of the db with large objects


pg_dump -b -Fc -f /var/lib/pgsql/backups/mydblo_dump mydblo


this went fine,
then i created the db using


createdb -T template0 mydblo

then, i try to restore on the test machine using


pg_restore -Fc -d mydblo mydblo_dump

to which i get the error

pg_restore: [archiver (db)] could not execute query: ERROR: Load of file
/usr/lib/pgsql//plpgsql.so failed: /usr/lib/pgsql//plpgsql.so: undefined
symbol: fmgr_pl_finfo


is there something wrong with my pg_restore command or is there some mix up
that its looking at variabels from the old version of the db?

i've tried

pg_restore -Fc -f mydblo_dump -d mydblo

but that just starts and does nothing for ages, and i have to kill the job
then.

thanks for any ideas,

andy


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.