Christopher B. Browne's Home Page
cbbrowne@gmail.com

1.37. ddlscript_complete_int( integer, integer )

Function Properties

PLPGSQLinteger
ddlScript_complete_int(set_id, script, only_on_node) Complete processing the DDL_SCRIPT event. This puts tables back into replicated mode.
    declare
    	p_set_id			alias for $1;
    	p_only_on_node		alias for $2;
    	v_row				record;
    begin
    	-- ----
    	-- Put all tables back into replicated mode
    	-- ----
    	for v_row in select * from sl_table
    	loop
    		perform alterTableForReplication(v_row.tab_id);
    	end loop;
    
    	return p_set_id;
    end;

Google

If this was useful, let others know by an Affero rating

Contact me at cbbrowne@gmail.com