Re: pg_restore new option -m
ohp@pyrenet.fr
From: ohp@pyrenet.fr
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
Date: 2009-02-19T14:20:08Z
Lists: pgsql-hackers
Attachments
- pg.gz (application/octet-stream)
hi Tom, On Wed, 18 Feb 2009, Tom Lane wrote: > Date: Wed, 18 Feb 2009 13:41:34 -0500 > From: Tom Lane <tgl@sss.pgh.pa.us> > To: ohp@pyrenet.fr > Cc: pgsql-hackers list <pgsql-hackers@postgresql.org> > Subject: Re: [HACKERS] pg_restore new option -m > > ohp@pyrenet.fr writes: >> pg_restore -C -m 4 -d template1 db.dmp >> gives numerous errors, mostly no such relation at index creation time. > > You sure you don't get exactly the same without -m? > yes! > regards, tom lane > the pg.gz script shows the output of : pg_restore -C -m pg_restore -C dropdb;createdb; pg_restore -m regards, -- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr ------------------------------------------------------------------------------ Make your life a dream, make your dream a reality. (St Exupery)