From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (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 06707445320 for ; Mon, 13 Jul 2020 01:11:01 +0300 (MSK) Date: Sun, 12 Jul 2020 22:11:00 +0000 From: Nikita Pettik Message-ID: <20200712221100.GA13229@tarantool.org> References: <20200708114718.38910-1-roman.habibov@tarantool.org> <20200708114718.38910-3-roman.habibov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 2/2] sql: clarify "sql_defer_foreign_keys" setting name 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 12 Jul 17:31, Vladislav Shpilevoy wrote: > Hi! Thanks for the patch! > > See 3 comments below. > > On 08.07.2020 13:47, Roman Khabibov wrote: > > Raname "sql_defer_foreign_keys" setting to > > "sql_defer_foreign_key_changes". > > 1. 'Raname' -> 'Rename'. > > 2. I think the new name is worse. Changes are done immediately. > You can't defer them. The flag means defer the foreign key checks, > not changes. To allow temporary inconsistency if a transaction needs > it, but still check FKs when it will commit. Agree, this renaming looks pointless and even misleading. I see it was suggested by Peter, but I don't see enough arguments to change the name. Please, reject the patch. > > Follow up #4511 > > > > @TarantoolBot document > > Title: sql_defer_foreign_keys in _space_settings > > 3. There is no such space '_space_settings'. > > > Rename "sql_defer_foreign_keys" setting to > > "sql_defer_foreign_key_changes".