ALTER TABLE fixes (take two)

Поиск
Список
Период
Сортировка
От Brent Verner
Тема ALTER TABLE fixes (take two)
Дата
Msg-id 20011111041844.B99927@rcfile.org
обсуждение исходный текст
Список pgsql-patches
Hi all,

  Following Tom's guidance (as best I could) I have a much better
patch for fixing the ALTER TABLE woes.  It properly handles renaming
tables and columns under every circumstance I've tested -- including
self-referential FK/PK.

First patch is to move defines around so I can get to them from the
rename.c file.

Second patch adds the update_ri_trigger_args() function which is called
from renameatt() and renamerel() to keep the pg_trigger.tgargs in sync
with the renamed att/rel.

cheers.
  brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

Вложения

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

Предыдущее
От: Brent Verner
Дата:
Сообщение: Re: ALTER TABLE RENAME fix
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch for Makefile race against current cvs