Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hka47-0006r1-AK for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2019 20:16:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hka46-0008PC-3y for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2019 20:16:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hka45-0008P5-RT for pgsql-hackers@lists.postgresql.org; Mon, 08 Jul 2019 20:16:45 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hka3y-0004fY-Gq for pgsql-hackers@lists.postgresql.org; Mon, 08 Jul 2019 20:16:45 +0000 Received: by mail-qt1-x844.google.com with SMTP id z4so15888992qtc.3 for ; Mon, 08 Jul 2019 13:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=X1uQSp/b+6h7THS4j2dFSby5sTSmjDOfOMksMINTCSs=; b=niwWa5xBoUPKaND5fTnTgLiqazzCoWtDXGPjEbBUvS8ayWjvBHdgOcQcKKNiKloZgT WqJvdTGeXeKx3NPotFVIDSBaXXsi/mbqatOlG0iosQwAxX9i0sR2f37RUW2hXViNNL1V mVv1yPjI/ypub6NasjgMJ3Jozt5eknw3ckNYjghK0DH8VwEOes9/qcPxpVMOribzN40o CV1rsxUm6f7FVJGSFj/4M8q+pCN6iNg3MB6wud3OE2H6uccf20KrGIkcJoJfO13SYZMP bSN+jeOSa0OjaJ9X73oXxYGAmlWswP5FYTAb1ruhZWnwz3lsT/+9uSqc3i3HcvaKsa+Y JQZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=X1uQSp/b+6h7THS4j2dFSby5sTSmjDOfOMksMINTCSs=; b=KOwZNeyRBVL+JDG4WTDDkqK1Gt2XV6l6BAA0EJ9gmGASqV5iTfJqxkq5DM7JlKojGW nleR8gbcw8zIp4uMRToCYcp4VHf8CYazq9N11hN3bSzm3Phd9Ivq5P8muJb/6+NVBdVc RJzzWJ3H6FJ7NEFsn1YRmYhPbsg18qq5nhYR2O9zWkvApC0JjCWvLJMiF6NgPqqjTIu2 OTxIQVRtGZJuUq4sunL7POlPYGtw5Sro4qb73sv9RWlhcs0UAUBYHmK3un0jMYGac+Wy c4BRIoBuZo4riHpOnqycUbr5wPM1jXH+CjGT0kAUdso/In0ULmg6uIdnqyLex6BwMQAs LS2Q== X-Gm-Message-State: APjAAAXXgBBtXXF3xwNSg6g2HVOlH7Jn7lyuAiWbgjQgacrt+UjPk7zX B277dc9x3MV/c6eNWMkE1UNAWA== X-Google-Smtp-Source: APXvYqxiSwq2UHR27td0qdKA5jnQhkHPnDZErKBJfn8jWDyf7xc3MYsjR+AisiU/hvBo91EoNKC+Kw== X-Received: by 2002:a0c:c3c7:: with SMTP id p7mr15990678qvi.125.1562616996924; Mon, 08 Jul 2019 13:16:36 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id u16sm8903727qte.32.2019.07.08.13.16.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 13:16:36 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id AE9F3124A5B; Mon, 8 Jul 2019 16:16:34 -0400 (-04) Date: Mon, 8 Jul 2019 16:16:34 -0400 From: Alvaro Herrera To: Dmitry Belyavsky Cc: Thomas Munro , Nikolay Shaplov , PostgreSQL Hackers Subject: Re: Ltree syntax improvement Message-ID: <20190708201634.GA17499@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jul-08, Dmitry Belyavsky wrote: > Dear Thomas, > > Thank you for your proofreading! > > Please find the updated patch attached. It also contains the missing > escaping. I think all these functions you're adding should have a short sentence explaining what it does. I'm not really convinced that we need this much testing. It seems a bit excessive. Many of these very focused test SQL lines could be removed with no loss of coverage, and many of the others could be grouped into one. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services