From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id C933D46970F for ; Thu, 28 Nov 2019 11:56:52 +0300 (MSK) Date: Thu, 28 Nov 2019 11:56:50 +0300 From: Mergen Imeev Message-ID: <20191128085650.GA8088@tarantool.org> References: <12ed4be2e7e433fdca58a43fc3b937eb9a54f52f.1573121685.git.imeevma@gmail.com> <9fe3bd05-17de-e878-4395-4d15cf2f0b38@tarantool.org> <20191107141209.GA10466@tarantool.org> <93979a0b-1708-1125-1142-74f22734b088@tarantool.org> <20191115140609.GA15961@tarantool.org> <3d76e64a-cd03-1bf1-5830-0d0b142a5e27@tarantool.org> <194ae7ab-61bc-797a-527e-81704ade2545@tarantool.org> <20191127103309.GA16066@tarantool.org> <3062f665-907c-7860-bbbd-430c89b6a66e@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3062f665-907c-7860-bbbd-430c89b6a66e@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v3 3/5] sql: introduce SET statement List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On Thu, Nov 28, 2019 at 12:03:52AM +0100, Vladislav Shpilevoy wrote: > On 27/11/2019 11:33, Mergen Imeev wrote: > > Hi! Thanks for the suggestion! I think your points are correct, > > but I think we should create a new issue after pushing SET. > > Issue #4621 about using VDBE in SET/control pragmas. All other > > pragmas already use VDBE. Since SET will use VDBE, I think we > > should close #4621 with #4511. > > I see that we have different understanding of what it means - use > VDBE. I mean, that option value should be get/set at runtime. > Currently the only thing runtime does is return of metadata. All > the actual work happens at compile time. > > To make binding works the only solution is to make > PRAGMA/SET/whatever work at runtime totally. When you will > properly move PRAGMA/SET to VDBE, you will get bindings for > free. > I see. Now I understand what you meant earlier. I added a comment to #4621 and replaced “Closes #4621” with “Part of #4621” in the commit message. Link to comment: https://github.com/tarantool/tarantool/issues/4621#issuecomment-559399461 > The patchset LGTM. Perhaps. I don't really know what is > our plan on session and SQL settings, so I can only approve the > technical part. > > Seems like in our team design decisions about everything work > like 'lets see what PostgreSQL/MySQL/Ya.DB do, and we will do > literally the same'.