pg_restore new option -m

From: ohp(at)pyrenet(dot)fr
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_restore new option -m
Date: 2009-02-18 17:55:53
Message-ID: Pine.UW2.4.63.0902181845190.9918@sun.pyrenet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi,

i've been testing new -m option of pg_restore with great pleasure.
first, let me thank the developpers, it cut restoring time by half.

is it normal that -m doesn't cope well with -C?

createdb db
pg_restore -m 4 -d db db.dmp
works like a charm while

pg_restore -C -m 4 -d template1 db.dmp
gives numerous errors, mostly no such relation at index creation time.

TIA
--
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(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-02-18 18:01:15 Re: graph representation of data structures in optimizer
Previous Message Sam Mason 2009-02-18 17:46:11 Re: Multi calendar system for pgsql