Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7c6V-005ydh-Fk for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Nov 2023 13:56:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r7c6U-00Dm66-4P for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Nov 2023 13:56:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7c6T-00Dm5u-Mi for pgsql-hackers@lists.postgresql.org; Mon, 27 Nov 2023 13:56:49 +0000 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r7c6Q-008neb-Nr for pgsql-hackers@postgresql.org; Mon, 27 Nov 2023 13:56:49 +0000 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1f055438492so2488130fac.3 for ; Mon, 27 Nov 2023 05:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1701093404; x=1701698204; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=D1dXUj1dmo0wF6Aszom2eCVXZ8O80/JzfGje7GSHJlM=; b=tEtf1rDlt+djjPJGpFT2zLiYZ14rIkSOsh8IXRMx4b1DIc3tvShPKlmnAy8kwBMojq +Mtdyyxe0ZMVxVsOHbF7qH71maxAFuPDFb1vrBdu2KSyXmD92ZSAK1LNm+bMOpV6jXup 6vaqBfQppoBGX2GajrQtZ8jGjPvPsOlF+AUbuKR/OjXlNyAPCxwSAFbyMJMxIfbDuDlZ U25KMG5iXQ40zQssxGqic8UtCrZt1mS4Zqs5ocomGHZYUwKfN+RsQvS3pbbBE00pV3Vf +GPTOlFo1GnsmOv5DeQ08SCbTkySZ9bPTdHlvi8uNWd06CAgnhXt8CGQ6zAMIAIgOcUF zLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701093404; x=1701698204; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D1dXUj1dmo0wF6Aszom2eCVXZ8O80/JzfGje7GSHJlM=; b=T9oL6mZRc2YURjgkzZGNKfIZ16pls/53E0ykh8WjdIc8BteIWIDUba5vAil1ILDuRl 4icuadWr4UqT00B4tQhmqsbcWPQgP3LOCj/qpjaBqkD5Jv8SfScKCCW9B2I3Uazr3MEX 9qqvGZfi2Oi71nM/RqZRm/I0IMbtKsBEl4UnZAC+KWnc3wSBUMnLiNVuhHzZVvvgJaPW JZYPIBi0dyEeuyNgkbMf13wLCr26H80jQvPLJycFXZSY92l26lb4Vo+QRWnLkrqgVuj3 oNTWSmPk79KI5gwsvW/N/HoHy4HM3CehwhdDhtlLldAlWQMSye6RNM8YvkV0xjHeCdN+ /Ncg== X-Gm-Message-State: AOJu0Yx0yyaKk5LjQuatxt9LofTxIfjG+P9Dsufhqjwjad8lwkHLxI82 g3QvmenwQbUldGxY5w5CtPEdYg== X-Google-Smtp-Source: AGHT+IFm6QQudXTsqzniNvQQfORl9ki4nYUcxBZxtFjKiHRbflUdN0ZZHtXjv8eyC2xq2DlIO+TjZA== X-Received: by 2002:a05:6870:7b4c:b0:1fa:13b6:fc87 with SMTP id ji12-20020a0568707b4c00b001fa13b6fc87mr11969498oab.31.1701093404249; Mon, 27 Nov 2023 05:56:44 -0800 (PST) Received: from ?IPV6:2605:a601:9122:d800::2bb? ([2605:a601:9122:d800::2bb]) by smtp.googlemail.com with ESMTPSA id w26-20020ac86b1a000000b0041e383d527esm3713915qts.66.2023.11.27.05.56.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Nov 2023 05:56:43 -0800 (PST) Message-ID: Date: Mon, 27 Nov 2023 08:56:43 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: remaining sql/json patches Content-Language: en-US To: Alvaro Herrera , Amit Langote Cc: Andres Freund , jian he , Erik Rijkers , PostgreSQL-development References: <202311271042.7pi3wuilrosx@alvherre.pgsql> From: Andrew Dunstan In-Reply-To: <202311271042.7pi3wuilrosx@alvherre.pgsql> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-11-27 Mo 05:42, Alvaro Herrera wrote: > On 2023-Nov-27, Amit Langote wrote: > >>> For example, the jump between 13 and 14 looks worse. >>> (I do wonder what happened there.) >> The following commit sounds like it might be related? > Yes, but not only that one. I did some more trolling in the commit log > for the 14 timeframe further and found that the following commits are > the ones with highest additions to YYLAST during that cycle: > > yylast │ yylast_addition │ commit │ subject > ────────┼─────────────────┼────────────┼──────────────────────────────────────────────────────────────────────────────── > 106051 │ 1883 │ 92bf7e2d02 │ Provide the OR REPLACE option for CREATE TRIGGER. > 105325 │ 1869 │ 06a7c3154f │ Allow most keywords to be used as column labels without requiring AS. > 104395 │ 1816 │ 45b9805706 │ Allow CURRENT_ROLE where CURRENT_USER is accepted > 107537 │ 1139 │ a4d75c86bf │ Extended statistics on expressions > 105410 │ 1067 │ b5913f6120 │ Refactor CLUSTER and REINDEX grammar to use DefElem for option lists > 106007 │ 965 │ 3696a600e2 │ SEARCH and CYCLE clauses > 106864 │ 733 │ be45be9c33 │ Implement GROUP BY DISTINCT > 105886 │ 609 │ 844fe9f159 │ Add the ability for the core grammar to have more than one parse target. > 108400 │ 571 │ ec48314708 │ Revert per-index collation version tracking feature. > 108939 │ 539 │ e6241d8e03 │ Rethink definition of pg_attribute.attcompression. > > but we also have these: > > 105521 │ -530 │ 926fa801ac │ Remove undocumented IS [NOT] OF syntax. > 104202 │ -640 │ c4325cefba │ Fold AlterForeignTableStmt into AlterTableStmt > 104168 │ -718 │ 40c24bfef9 │ Improve our ability to regurgitate SQL-syntax function calls. > 108111 │ -828 │ e56bce5d43 │ Reconsider the handling of procedure OUT parameters. > 106398 │ -834 │ 71f4c8c6f7 │ ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY > 104402 │ -923 │ 2453ea1422 │ Support for OUT parameters in procedures > 103456 │ -939 │ 1ed6b89563 │ Remove support for postfix (right-unary) operators. > 104343 │ -1178 │ 873ea9ee69 │ Refactor parsing rules for option lists of EXPLAIN, VACUUM and ANALYZE > 102784 │ -1417 │ 8f5b596744 │ Refactor AlterExtensionContentsStmt grammar > (59 filas) > Interesting. But inferring a speed effect from such changes is difficult. I don't have a good idea about measuring parser speed, but a tool to do that would be useful. Amit has made a start on such measurements, but it's only a start. I'd prefer to have evidence rather than speculation. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com