Re: commands subdirectory continued -code cleanup

Поиск
Список
Период
Сортировка
От Fernando Nasser
Тема Re: commands subdirectory continued -code cleanup
Дата
Msg-id 3CC0721F.36EC6529@redhat.com
обсуждение исходный текст
Ответ на commands subdirectory continued -code cleanup  (John Gray <jgray@azuli.co.uk>)
Ответы Re: commands subdirectory continued -code cleanup  (John Gray <jgray@azuli.co.uk>)
Список pgsql-hackers
John Gray wrote:
> 
> and two macros:
> 
> RECURSE_OVER_CHILDREN(relid);
> AlterTableDoSomething(childrel,...);
> RECURSE_OVER_CHILDREN_END;
> 
> (this seems more straightforward than passing the text of the function
> call as a macro parameter).
> 

Suggestion:

RECURSE_OVER_CHILDREN(inh, relid)
{AlterTableDoSomething(childrel,...);
}


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: commands subdirectory continued -code cleanup
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Odd(?) RI-trigger behavior