pgsql: Simplify coding to detach constraints when detaching partition

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Simplify coding to detach constraints when detaching partition
Дата
Msg-id E1gmfye-0003it-LQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Simplify coding to detach constraints when detaching partition

The original coding was too baroque and led to an use-after-release
mistake, noticed by buildfarm member prion.

Discussion: https://postgr.es/m/21693.1548305934@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/71eba83999f3702ee9b909ad2df5cae7ebb58882

Modified Files
--------------
src/backend/commands/tablecmds.c | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: pgsql: postgres_fdw: Account for tlist eval costs inestimate_path_cost
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Detach constraints when partitions are detached