Re: FK Constraint on index not PK
От
Richard Huxton
Тема
Re: FK Constraint on index not PK
Дата
Msg-id
45A8DA55.1030307@archonet.com
Ответ на
Re: FK Constraint on index not PK (Stéphane Schildknecht)
Список
Дерево обсуждения
FK Constraint on index not PK Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>
Re: FK Constraint on index not PK "Joshua D. Drake" <jd@commandprompt.com>
Re: FK Constraint on index not PK Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>
Re: FK Constraint on index not PK Alvaro Herrera <alvherre@commandprompt.com>
Re: FK Constraint on index not PK Tom Lane <tgl@sss.pgh.pa.us>
Re: FK Constraint on index not PK Scott Marlowe <smarlowe@g2switchworks.com>
Re: FK Constraint on index not PK "Brandon Aiken" <BAiken@winemantech.com>
Re: FK Constraint on index not PK Scott Marlowe <smarlowe@g2switchworks.com>
Re: FK Constraint on index not PK Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>
Re: FK Constraint on index not PK Tom Lane <tgl@sss.pgh.pa.us>
Re: FK Constraint on index not PK Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>
Re: FK Constraint on index not PK Richard Huxton <dev@archonet.com>
Stéphane Schildknecht wrote: > > My goal is to migrate to 8.2.1. definitely. But as you said it, I do not > want to recreate unwanted index when migrating. I want to drop them BEFORE. > > But, I can't just do a "drop index" command. It fails. > > That's why I asked for an advice to drop them or not recreate them. I > would really prefer not to parse the all dump (some GB). Try the --list and --use-list options on pg_restore. IIRC indexes are mentioned as items in that, so you should be able to comment out the one you don't want. HTH -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления