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:  [EMAIL PROTECTED]
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to