From 20e9e7c7c519036b4fb582d3945ab74673b87615 Mon Sep 17 00:00:00 2001 From: iElectric Date: Thu, 8 Jul 2010 18:50:28 +0200 Subject: [PATCH] change dialect table from ugly format to list table --- docs/index.rst | 97 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 69 insertions(+), 28 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 0a6356c..4b96ade 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -39,39 +39,79 @@ Download and Development download + .. _dialect-support: Dialect support --------------- -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| Operation / Dialect | :ref:`sqlite ` | :ref:`postgres ` | :ref:`mysql ` | :ref:`oracle ` | :ref:`firebird ` | mssql | -| | | | | | | | -+=========================================================+==========================+==============================+========================+===========================+===============================+====================+ -| :ref:`ALTER TABLE RENAME TABLE ` | yes | yes | yes | yes | no | not supported | -| | | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE RENAME COLUMN ` | yes | yes | yes | yes | yes | not supported | -| | (workaround) [#1]_ | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE ADD COLUMN ` | yes | yes | yes | yes | yes | not supported | -| | (with limitations) [#2]_ | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE DROP COLUMN ` | yes | yes | yes | yes | yes | not supported | -| | (workaround) [#1]_ | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE ALTER COLUMN ` | yes | yes | yes | yes | yes [#4]_ | not supported | -| | (workaround) [#1]_ | | | (with limitations) [#3]_ | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE ADD CONSTRAINT ` | no | yes | yes | yes | yes | not supported | -| | | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`ALTER TABLE DROP CONSTRAINT `| no | yes | yes | yes | yes | not supported | -| | | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ -| :ref:`RENAME INDEX ` | no | yes | no | yes | yes | not supported | -| | | | | | | | -+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ +.. list-table:: + :header-rows: 1 + :widths: 25 10 10 10 10 10 11 + + * - Operation / Dialect + - :ref:`sqlite ` + - :ref:`postgres ` + - :ref:`mysql ` + - :ref:`oracle ` + - :ref:`firebird ` + - mssql + * - :ref:`ALTER TABLE RENAME TABLE ` + - yes + - yes + - yes + - yes + - no + - not supported + * - :ref:`ALTER TABLE RENAME COLUMN ` + - yes (workaround) [#1]_ + - yes + - yes + - yes + - yes + - not supported + * - :ref:`ALTER TABLE ADD COLUMN ` + - yes (with limitations) [#2]_ + - yes + - yes + - yes + - yes + - not supported + * - :ref:`ALTER TABLE DROP COLUMN ` + - yes (workaround) [#1]_ + - yes + - yes + - yes + - yes + - not supported + * - :ref:`ALTER TABLE ALTER COLUMN ` + - yes (workaround) [#1]_ + - yes + - yes + - yes (with limitations) [#3]_ + - yes [#4]_ + - not supported + * - :ref:`ALTER TABLE ADD CONSTRAINT ` + - no + - yes + - yes + - yes + - yes + - not supported + * - :ref:`ALTER TABLE DROP CONSTRAINT ` + - no + - yes + - yes + - yes + - yes + - not supported + * - :ref:`RENAME INDEX ` + - no + - yes + - no + - yes + - yes + - not supported .. [#1] Table is renamed to temporary table, new table is created followed by INSERT statements. @@ -79,6 +119,7 @@ Dialect support .. [#3] You can not change datatype or rename column if table has NOT NULL data, see http://blogs.x2line.com/al/archive/2005/08/30/1231.aspx for more information. .. [#4] Changing nullable is not supported + Documentation -------------