Skip to content

Commit

Permalink
String length restriction documented
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovit committed Apr 27, 2015
1 parent 9a0cb9a commit c20465b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/sql/data_types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A basic boolean type. Accepting ``true`` and ``false`` as values. Example::
string
======

A text-based basic type containing one or more characters. Example::
A text-based basic type containing one or more characters. All unicode characters are allowed. Example::

cr> create table my_table2 (
... first_column string
Expand All @@ -42,6 +42,10 @@ A text-based basic type containing one or more characters. Example::

Columns of type string can also be analyzed. See :ref:`sql_ddl_index_fulltext`.

.. note::

Maximum string length is restricted to 32766 bytes, when encoded with UTF-8 unless the string is analyzed using full text or the indexing is off.

numeric types
=============

Expand Down

0 comments on commit c20465b

Please sign in to comment.