Re: Rearranging ALTER TABLE to avoid multi-operations bugs

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Rearranging ALTER TABLE to avoid multi-operations bugs
Дата
в 20:50:49
Msg-id
CA+Tgmoa3FzZvWriJmqquvAbf8GxrC9YM9umBb18j5M69iuq9bg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Robert Haas <robertmhaas@gmail.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Sergei Kornilov <sk@zsrv.org>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Robert Haas <robertmhaas@gmail.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs movead li <movead.li@highgo.ca>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs movead li <movead.li@highgo.ca>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Thomas Munro <thomas.munro@gmail.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Rearranging ALTER TABLE to avoid multi-operations bugs Tom Lane <tgl@sss.pgh.pa.us>
On Sun, May 26, 2019 at 6:24 PM Tom Lane  wrote:
> Anybody have thoughts about a different way to approach it?

I mean, in an ideal world, I think we'd never call back out to
ProcessUtility() from within AlterTable().  That seems like a pretty
clear layering violation.  I assume the reason we've never tried to do
better is a lack of round tuits and/or sufficient motivation.

In terms of what we'd do instead, I suppose we'd try to move as much
as possible inside the ALTER TABLE framework proper and have
everything call into that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Donald Dong
Дата:
От: Robert Haas
Дата:
FAQ