Fri Oct 10 13:26:25 PDT 2008
- Previous message: [Slony1-general] Using SLONY to Upgrade Postgres Versions
- Next message: [Slony1-general] Re: [GENERAL] Stripping out slony after / before / during pg_restore?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kenny Gorman <kgorman at hi5.com> writes: > You can just stop the slon processes, and drop the schema that holds > the replication tables, then your all clean again. I would prefer to cleanly uninstall Slony-I on it via the slonik command UNINSTALL NODE. <http://www.slony.info/documentation/stmtuninstallnode.html> That does some things that simply dropping the schema doesn't. Looking at the code for uninstallNode(): -- ---- -- Grab the central configuration lock -- ---- lock table @NAMESPACE at .sl_config_lock; -- ---- -- This is us ... time for suicide! Restore all tables to -- their original status. -- ---- for v_tab_row in select * from @NAMESPACE at .sl_table loop perform @NAMESPACE at .alterTableRestore(v_tab_row.tab_id); perform @NAMESPACE at .tableDropKey(v_tab_row.tab_id); end loop; raise notice ''Slony-I: Please drop schema "_ at CLUSTERNAME@"''; return 0; -- (format nil "~S@~S" "cbbrowne" "acm.org") http://cbbrowne.com/info/sap.html "When the grammar checker identifies an error, it suggests a correction and can even makes some changes for you." -- Microsoft Word for Windows 2.0 User's Guide, p.35:
- Previous message: [Slony1-general] Using SLONY to Upgrade Postgres Versions
- Next message: [Slony1-general] Re: [GENERAL] Stripping out slony after / before / during pg_restore?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list