identifiers in Tarantool - AnaNek/tarantool GitHub Wiki
for more details about identifiers in SQL, see the page
In short
- identifiers are names of different staff (spaces, indexes, sequences...)
- all printable unicode characters allowed in identifiers
- max identifier length is
65000
Identifiers in tarantool
General information
Tarantool allow identifier contain any printable Unicode character. This constraint was inspired by SQL ANSI ISO, which allows delimited identifier contain any valid Unicode character. The check is performed with help of ICU library.
List of identifiers
- space names
- index names
- column names
- collation names
- sequence names
- function names
- user names
- role names
- engine names (but it hasn't any API)
list of ICU types which are prohibited in identifiers
- REPLACEMENT_CHARACTER (0xFFFD)
- U_UNASSIGNED
- U_LINE_SEPARATOR
- U_CONTROL_CHAR
- U_PARAGRAPH_SEPARATOR
for more info, see test/box/lua/identifier.lua
and tests which uses it
The constraint is similar to glibc isprint(wchar) == true
.