関数特性
言語: PLPGSQL
戻り値: integer
全ての複製システムを削除し、全てのデータベースをスタンドアロンに再設定します。declare v_tab_row record; begin -- ---- -- 中枢構成にロックを取得 -- ---- lock table sl_config_lock; -- ---- -- これは私たち … 自滅の瞬間!全てのテーブルを -- 元の状態にリストア -- ---- for v_tab_row in select * from sl_table loop perform alterTableRestore(v_tab_row.tab_id); perform tableDropKey(v_tab_row.tab_id); end loop; raise notice 'Slony-I: Please drop schema "_schemadoc"'; return 0; end;