[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] tools dead_column_cleaner.rb,1.1,1.2
From: |
tom |
Subject: |
[Gforge-commits] tools dead_column_cleaner.rb,1.1,1.2 |
Date: |
Tue, 10 Feb 2004 15:49:45 -0600 |
Update of /cvsroot/gforge/tools
In directory db.perdue.net:/tmp/cvs-serv24805
Modified Files:
dead_column_cleaner.rb
Log Message:
Added some usage info
Index: dead_column_cleaner.rb
===================================================================
RCS file: /cvsroot/gforge/tools/dead_column_cleaner.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dead_column_cleaner.rb 10 Feb 2004 21:30:12 -0000 1.1
+++ dead_column_cleaner.rb 10 Feb 2004 21:49:42 -0000 1.2
@@ -1,5 +1,15 @@
#!/usr/local/bin/ruby
+# This is a utility to delete the "dead" columns
+# from various tables in GForge. When run,
+# it queries all the tables in the database, checks
+# all their columns, and deletes the columns that
+# start with the word "dead". Then it runs vacuumdb
+# to reclaim the space.
+#
+# Usage: ./dead_column_cleaner.rb
+#
+
USER_STR = "-U gforge gforge"
tables = []
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] tools dead_column_cleaner.rb,1.1,1.2,
tom <=