[tarantool-patches] Re: [PATCH v2 08/12] sql: rfc for SQL and Lua functions

Kirill Shcherbatov kshcherbatov at tarantool.org
Thu Jul 11 10:40:00 MSK 2019


>> The spec generally looks good to me, but I don't see how you
>> addressed the case sensitivity issue. Please add name_ucase field
>> to the _func definition, and add a unique index over it, to
>> prevent duplicates with a differently cased name.
> 
> Sorry, forget this. Hit "send" too hastily. I noticed that you
> changed the unique index collation on "name" to case insensitive.
> Please mention this in the spec, I missed that at first. After
> that the spec is OK to push.

There was a string:
"We must forbid such names for `box.schema.func.create` endpoint to prevent a mess in SQL code.
To solve this problem, we may set `collation = 'unicode_ci'` for ``_func.name`` field and put all built-ins in bootstrap image."

in RFC already.




More information about the Tarantool-patches mailing list