@@ -27,6 +27,16 @@ marked "Okay" will probably be balanced by tests which are unfairly marked "Fail
27
27
| E011-01 | INTEGER and SMALLINT | ``create table t (s1 int primary key); `` | Okay. |
28
28
+------------+-----------------------------------------------+----------------------------------------------------------+---------------------------------------------------------+
29
29
| E011-02 | REAL, DOUBLE PRECISION, and FLOAT data types | ``create table tr (s1 float primary key); `` | Okay. |
30
+ | | | | |
31
+ | | | | **Note: ** Floating point SQL types are not planned to |
32
+ | | | | be compatible between 2.1 and 2.2 releases. The reason |
33
+ | | | | is that in 2.1 we set 'number' format for columns of |
34
+ | | | | these types, but will restrict it to 'float32' and |
35
+ | | | | 'float64' in 2.2. The format change requires data |
36
+ | | | | migration and cannot be done automatically, because in |
37
+ | | | | 2.1 we have no information to distinguish 'number' |
38
+ | | | | columns (created from Lua) from FLOAT/DOUBLE/REAL ones |
39
+ | | | | (created from SQL). |
30
40
+------------+-----------------------------------------------+----------------------------------------------------------+---------------------------------------------------------+
31
41
| E011-03 | DECIMAL and NUMERIC data types | ``create table td (s1 numeric primary key); `` | Fail, DECIMAL and NUMERIC data types are not supported |
32
42
| | | | and a number containing post-decimal digits will be |
@@ -46,6 +56,7 @@ marked "Okay" will probably be balanced by tests which are unfairly marked "Fail
46
56
+------------+-----------------------------------------------+----------------------------------------------------------+---------------------------------------------------------+
47
57
| E021-02 | CHARACTER VARYING data type (including all | ``create table t45 (s1 varchar primary key); `` | Fail, only the spelling VARCHAR is allowed. |
48
58
| | its spellings) | | |
59
+ | | | | **Note: ** VARCHAR(N) does not check the string length. |
49
60
+------------+-----------------------------------------------+----------------------------------------------------------+---------------------------------------------------------+
50
61
| E021-03 | Character literals | ``insert into t45 values (''); `` | Okay, and the bad practice of accepting ""'s for |
51
62
| | | | character literals is avoided. |
0 commit comments