Kouhei Sutou
null+****@clear*****
Thu Mar 17 16:59:37 JST 2016
Kouhei Sutou 2016-03-17 16:59:37 +0900 (Thu, 17 Mar 2016) New Revision: 08991a24defa698cc391a32eb6f1a48e1670a64c https://github.com/groonga/groonga/commit/08991a24defa698cc391a32eb6f1a48e1670a64c Message: doc table_remove: add missing versionadded tag Modified files: doc/files.am doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/table_remove.rst Renamed files: doc/source/example/reference/commands/table_remove/remove_dependents_default.log (from doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_no.log) doc/source/example/reference/commands/table_remove/remove_dependents_schema.log (from doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_schema.log) doc/source/example/reference/commands/table_remove/remove_dependents_yes.log (from doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_yes.log) Modified: doc/files.am (+6 -6) =================================================================== --- doc/files.am 2016-03-17 16:47:05 +0900 (6a38ad5) +++ doc/files.am 2016-03-17 16:59:37 +0900 (da2081d) @@ -227,9 +227,9 @@ absolute_source_files = \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/basic_usage_dump_before_table_remove.log \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/basic_usage_table_remove.log \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/decreases_used_resources_close_temporary_opened_objects.log \ - $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_no.log \ - $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_schema.log \ - $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_dependent_yes.log \ + $(top_srcdir)/doc/source/example/reference/commands/table_remove/remove_dependents_default.log \ + $(top_srcdir)/doc/source/example/reference/commands/table_remove/remove_dependents_schema.log \ + $(top_srcdir)/doc/source/example/reference/commands/table_remove/remove_dependents_yes.log \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_key_type_create.log \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_key_type_remove_fail.log \ $(top_srcdir)/doc/source/example/reference/commands/table_remove/unremovable_cases_key_type_remove_success.log \ @@ -1036,9 +1036,9 @@ source_files_relative_from_doc_dir = \ source/example/reference/commands/table_remove/basic_usage_dump_before_table_remove.log \ source/example/reference/commands/table_remove/basic_usage_table_remove.log \ source/example/reference/commands/table_remove/decreases_used_resources_close_temporary_opened_objects.log \ - source/example/reference/commands/table_remove/unremovable_cases_dependent_no.log \ - source/example/reference/commands/table_remove/unremovable_cases_dependent_schema.log \ - source/example/reference/commands/table_remove/unremovable_cases_dependent_yes.log \ + source/example/reference/commands/table_remove/remove_dependents_default.log \ + source/example/reference/commands/table_remove/remove_dependents_schema.log \ + source/example/reference/commands/table_remove/remove_dependents_yes.log \ source/example/reference/commands/table_remove/unremovable_cases_key_type_create.log \ source/example/reference/commands/table_remove/unremovable_cases_key_type_remove_fail.log \ source/example/reference/commands/table_remove/unremovable_cases_key_type_remove_success.log \ Modified: doc/locale/ja/LC_MESSAGES/reference.po (+7 -3) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2016-03-17 16:47:05 +0900 (229e47b) +++ doc/locale/ja/LC_MESSAGES/reference.po 2016-03-17 16:59:37 +0900 (ce8c68c) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2016-03-17 16:43+0900\n" +"PO-Revision-Date: 2016-03-17 16:58+0900\n" "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -12266,6 +12266,10 @@ msgstr "基本的な使い方" msgid "Unremovable cases" msgstr "削除できないケース" +# 10e63c2a9052442fbfca25373f30d1db +msgid "Removes a table with tables and columns that reference the target table" +msgstr "対象テーブルを参照しているテーブル・カラムも一緒に削除" + msgid "Decreases used resources" msgstr "利用リソースの削減" @@ -12496,9 +12500,9 @@ msgstr "" msgid "You should use this parameter carefully. This is a danger parameter." msgstr "このパラメーターは注意して使ってください。危険なパラメーターです。" -msgid "See :ref:`table-remove-unremovable-cases` how to use this parameter." +msgid "See :ref:`table-remove-remove-dependents` how to use this parameter." msgstr "" -"このパラメーターの使い方は :ref:`table-remove-unremovable-cases` を参照してく" +"このパラメーターの使い方は :ref:`table-remove-remove-dependents` を参照してく" "ださい。" msgid "``table_rename``" Renamed: doc/source/example/reference/commands/table_remove/remove_dependents_default.log (+0 -0) 100% =================================================================== Renamed: doc/source/example/reference/commands/table_remove/remove_dependents_schema.log (+0 -0) 100% =================================================================== Renamed: doc/source/example/reference/commands/table_remove/remove_dependents_yes.log (+0 -0) 100% =================================================================== Modified: doc/source/reference/commands/table_remove.rst (+14 -4) =================================================================== --- doc/source/reference/commands/table_remove.rst 2016-03-17 16:47:05 +0900 (f5cb907) +++ doc/source/reference/commands/table_remove.rst 2016-03-17 16:59:37 +0900 (a24e17c) @@ -37,6 +37,7 @@ This section describes about the followings: * Basic usage * Unremovable cases + * Removes a table with tables and columns that reference the target table * Decreases used resources .. _table-remove-basic-usage: @@ -174,6 +175,13 @@ You need to remove ``Table.reference_column`` before you remove .. column_remove Table reference_column .. table_remove ReferencedByColumn +.. _table-remove-remove-dependents + +Removes a table with tables and columns that reference the target table +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. versionadded:: 6.0.1 + If you understand what you'll do, you can also remove tables and columns that reference the target table with one ``table_remove`` command by using ``--dependent yes`` parameter. @@ -182,7 +190,7 @@ command by using ``--dependent yes`` parameter. and a column: .. groonga-command -.. include:: ../../example/reference/commands/table_remove/unremovable_cases_dependent_schema.log +.. include:: ../../example/reference/commands/table_remove/remove_dependents_schema.log .. table_create ReferencedTable TABLE_HASH_KEY ShortText .. table_create Table1 TABLE_HASH_KEY ReferencedTable .. table_create Table2 TABLE_NO_KEY @@ -191,7 +199,7 @@ and a column: You can't remove ``ReferencedTable`` by default: .. groonga-command -.. include:: ../../example/reference/commands/table_remove/unremovable_cases_dependent_no.log +.. include:: ../../example/reference/commands/table_remove/remove_dependents_default.log .. table_remove ReferencedTable You can remove ``ReferencedTable``, ``Table1`` and @@ -200,7 +208,7 @@ parameter. ``Table1`` and ``Table2.reference_column`` reference ``ReferencedTable``: .. groonga-command -.. include:: ../../example/reference/commands/table_remove/unremovable_cases_dependent_yes.log +.. include:: ../../example/reference/commands/table_remove/remove_dependents_yes.log .. table_remove ReferencedTable --dependent yes Decreases used resources @@ -266,6 +274,8 @@ There is only one optional parameter. ``dependent`` """"""""""""" +.. versionadded:: 6.0.1 + Specifies whether tables and columns that reference the target table are also removed or not. @@ -278,7 +288,7 @@ target table, the target table isn't removed by default. You should use this parameter carefully. This is a danger parameter. -See :ref:`table-remove-unremovable-cases` how to use this parameter. +See :ref:`table-remove-remove-dependents` how to use this parameter. Return value ------------ -------------- next part -------------- HTML����������������������������...Télécharger