Re: pg_upgrade problem with invalid indexes

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: pg_upgrade problem with invalid indexes
Дата
Msg-id
20121207182708.GE8476@awork2.anarazel.de
Ответ на
Список
Дерево обсуждения
pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Andrew Dunstan <andrew@dunslane.net>
Re: pg_upgrade problem with invalid indexes Stephen Frost <sfrost@snowman.net>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Stephen Frost <sfrost@snowman.net>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Stephen Frost <sfrost@snowman.net>
Re: pg_upgrade problem with invalid indexes Stephen Frost <sfrost@snowman.net>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Simon Riggs <simon@2ndQuadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Josh Berkus <josh@agliodbs.com>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Josh Berkus <josh@agliodbs.com>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Bruce Momjian <bruce@momjian.us>
Re: pg_upgrade problem with invalid indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_upgrade problem with invalid indexes Andres Freund <andres@2ndquadrant.com>
Re: pg_upgrade problem with invalid indexes Josh Berkus <josh@agliodbs.com>
Re: pg_upgrade problem with invalid indexes Jeff Davis <pgsql@j-davis.com>
Re: pg_upgrade problem with invalid indexes Andrew Dunstan <andrew@dunslane.net>
Re: pg_upgrade problem with invalid indexes Jeff Davis <pgsql@j-davis.com>
On 2012-12-07 10:22:12 -0800, Josh Berkus wrote:
>
> > Yes, I thought of not dumping it.  The problem is that we don't delete
> > the index when it fails, so I assumed we didn't want to lose the index
> > creation information.  I need to understand why we did that.  Why do we
> > have pg_dump dump the index then?
>
> Because pg_restore will recreate the index from scratch, which is
> presumably what users want most of the time.  So this issue doesn't
> exist outside of pg_upgrade.

I wonder though if we shouldn't ignore !indislive indexes in pg_dump
(and the respective bw-compat hack).

Greetings,

Andres Freund

--Andres Freund	                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-hackers по дате отправления
От: Josh Berkus
Дата:
От: Simon Riggs
Дата:
FAQ