From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 35F7820F35 for ; Thu, 1 Aug 2019 04:42:35 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NzF6xaqZIpZ0 for ; Thu, 1 Aug 2019 04:42:35 -0400 (EDT) Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id E93E920F15 for ; Thu, 1 Aug 2019 04:42:34 -0400 (EDT) Date: Thu, 1 Aug 2019 11:42:32 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH 0/5] Introduce VARBINARY in SQL Message-ID: <20190801084232.77u2dq45zp4wqzc3@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Nikita Pettik Hello, On 24 Jul 14:42, Nikita Pettik wrote: > Branch: https://github.com/tarantool/tarantool/tree/np/sql-introduce-blob > Issue: https://github.com/tarantool/tarantool/issues/4206 > > This patch-set introduces new column type available in SQL - VARBINARY. > All values of VARBINARY type are stored as MP_BIN format type in > msgpack. Basically, prior to the current patch all literals starting > with x'...' format were assumed to be encoded with MP_BIN type when > were inserted into SCALAR field. This rule has been remained. > According to ANSI, values of VARBINARY type can't be converted to > any other type. > > Nikita Pettik (5): > sql: always erase numeric flag after stringifying > sql: fix resulting type calculation for CASE-WHEN stmt > sql: use 'varbinary' as a name of type instead of 'blob' > sql: make built-ins raise errors for varbin args > sql: introduce VARBINARY column type I've checked the patch set into master. -- Regards, Kirill Yukhin