+open | /adminer/?pgsql=&username=ODBC&db=adminer_test&ns=public&create= | |
+type | name=name | range |
+click | //input[@name='auto_increment_col' and @value='1'] | |
+click | link=Partition by | |
+select | name=partition_by | label=RANGE |
+type | name=partition | id |
+type | name=partition_names[] | old |
+type | name=partition_values[] | 10 |
+type | xpath=//table[@id='partition-table']/tr/td/input | new |
+type | xpath=//table[@id='partition-table']/tr/td[2]/input | MAXVALUE |
+click | //input[@value='Save'] | |
+verifyTextPresent | PARTITION BY RANGE(id) | |
+verifyTextPresent | "range_old" PARTITION OF "range" FOR VALUES FROM (MINVALUE) TO (10) | |
+click | link=Create table | |
+type | name=name | list |
+click | //input[@name='auto_increment_col' and @value='1'] | |
+click | link=Partition by | |
+select | name=partition_by | label=LIST |
+type | name=partition | id |
+type | name=partition_names[] | odd |
+type | name=partition_values[] | 1,3,5 |
+click | xpath=//input[@value='Save'] | |
+verifyTextPresent | PARTITION BY LIST(id) | |
+verifyTextPresent | "list_odd" PARTITION OF "list" FOR VALUES IN (1,3,5) | |
+click | link=Create table | |
+type | name=name | hash |
+click | //input[@name='auto_increment_col' and @value='1'] | |
+click | link=Partition by | |
+select | name=partition_by | label=HASH |
+type | name=partition | id |
+type | name=partitions | 4 |
+click | xpath=//input[@value='Save'] | |
+verifyTextPresent | PARTITION BY HASH(id) | |
+verifyTextPresent | "hash_0" PARTITION OF "hash" FOR VALUES WITH (MODULUS 4, REMAINDER 0) | |
+click | link=hash_0 | |
+verifyTextPresent | Inherits from | |
+click | link=public | |
+click | //input[@name='tables[]' and @value='hash'] | |
+click | //input[@name='tables[]' and @value='list'] | |
+click | //input[@name='tables[]' and @value='range'] | |
+chooseOkOnNextConfirmation | Are you sure? | |
+click | name=drop | |
+verifyTextPresent | No tables. | |
+