Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild
От
Josh Berkus
Тема
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild
Дата
Msg-id
4A2451E6.3060703@agliodbs.com
Ответ на
Список
Дерево обсуждения
Suggested TODO: allow ALTERing of typemods without heap/index rebuild Josh Berkus <josh@agliodbs.com>
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild Jeff Davis <pgsql@j-davis.com>
Re: Suggested TODO: allow ALTERing of typemods without heap/index
rebuild Greg Stark <stark@enterprisedb.com>
Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild Tom Lane <tgl@sss.pgh.pa.us>
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild Guillaume Smet <guillaume.smet@gmail.com>
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild Josh Berkus <josh@agliodbs.com>
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild Jeff Davis <pgsql@j-davis.com>
Re: Suggested TODO: allow ALTERing of typemods without
heap/index rebuild Josh Berkus <josh@agliodbs.com>
Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild Tom Lane <tgl@sss.pgh.pa.us>
Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild Tom Lane <tgl@sss.pgh.pa.us>
Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild Dimitri Fontaine <dfontaine@hi-media.com>
Jeff, > I observe that the casts (VARCHAR -> TEXT and TEXT -> VARCHAR) are > marked WITHOUT FUNCTION. If that's the case, can't we use that to say > that no heap rebuild is required? Perhaps we'll need to combine this > with the typmod checks to see if we need to check the heap. yeah, you're right .. that would give us a short list of conversions which don't require a rewrite. However, as Tom points out, that doesn't mean that they might not need a reindex (as well as OID, there's also XML). -- Josh Berkus PostgreSQL Experts Inc. www.pgexperts.com
В списке pgsql-hackers по дате отправления