Re: Minmax indexes
От | Alvaro Herrera |
---|---|
Тема | Re: Minmax indexes |
Дата | |
Msg-id | 20140710212934.GX6390@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Minmax indexes (Josh Berkus <josh@agliodbs.com>) |
Ответы |
Re: Minmax indexes
|
Список | pgsql-hackers |
Josh Berkus wrote: > On 07/10/2014 12:20 PM, Alvaro Herrera wrote: > >> So I guess the only thing left is to issue a NOTICE when said alter > >> > takes place (I don't see that on the patch, but maybe it's there?) > > That's not in the patch. I don't think we have an appropriate place to > > emit such a notice. > > What do you mean by "don't have an appropriate place"? What I think should happen is that if the value is changed, the index sholud be rebuilt right there. But there is no way to have this occur from the generic tablecmds.c code. Maybe we should extend the AM interface so that they are notified of changes and can take action. Inserting AM-specific code into tablecmds.c seems pretty wrong to me -- existing stuff for WITH CHECK OPTION views notwithstanding. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: