Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqzPy-00018U-Gi for pgsql-committers@arkaria.postgresql.org; Fri, 04 Nov 2022 16:19:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oqzPx-00050X-35 for pgsql-committers@arkaria.postgresql.org; Fri, 04 Nov 2022 16:19:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqzPw-0004wr-O7 for pgsql-committers@lists.postgresql.org; Fri, 04 Nov 2022 16:19:40 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oqzPt-0002iK-Cb for pgsql-committers@lists.postgresql.org; Fri, 04 Nov 2022 16:19:39 +0000 Received: by mail-qv1-xf30.google.com with SMTP id o8so3512684qvw.5 for ; Fri, 04 Nov 2022 09:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=6ehQeJUCH4WPMQXj2TVJXamdnRcFn0/9rh6O+e55V/Q=; b=xZ1P/j6ns4tprKezU0aOe51GAAIBXL8wD3PNgTc9vv1nc+bRVcI+V5209gZUVryTFN s5ERMLFiFtxwI5R0I+FHoWvm7m6aey/b4e7p07UP6KooZELHLzZcV0RpCECtZXEoyH5N Nv2udaOSU/1VyQLVcGNjfIyc8DIADskztYW50f+MJCJfYtiFBdf/HjIhm6lB1VvwooUx iCCMqRUhCL6gixpc/EozHsG6vm5UgujSKv9jWpU8flYrhmutMMmhImxyXpe0JJj2H4At i6SwRNQyPoGS/g9CpBV+wZjADE3dQ1rfcnSqjAq0PJK5VrsYC8Kzlt4pZdIEa0gab8f4 fUAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6ehQeJUCH4WPMQXj2TVJXamdnRcFn0/9rh6O+e55V/Q=; b=xAY6oyhxraW9q2q1nXdbVdEMtAm+iy0qcAbOl12oY4EI1x2tntJkoGWG0kXbS1uHlf BqaUKOnhqgQnqt6FwedgAbKwDz68hkzAA2l76h4Q5+PuhhRMGcXrh9+WUw6POuk8/Gh8 hlVmRgf/bo2dSaSMoeWpziaG1VD4Aj0rYZ+5LRBd966Bw8o73nTVltUsSWwSfqzH5dNQ 9mZaj+H5Zh1/1I+c7eggYnKP1lvqeXE6om+fMn4HTDFHXZH3KvOAcmsSe4XKf4pkPeBl 6Qotah3KhLV9W8Lkl+dCYVWNvbKLvISEwG+0gyX6oU9jMFFKS1tkP2a/vQc6fzmpT3Nw DHjg== X-Gm-Message-State: ACrzQf1xEEBBlw9P19sxK3Z29oFyizuVlJFqOhezTSSYANsFSEcMIg06 SQuA3lRB+v6bvwPgVfcSB5guIA== X-Google-Smtp-Source: AMsMyM7IpTf0ijaGB5ZppRKod4lHBUkticZ2UuM6UzVybwVbtqFMPjz9b1p8i9jBOcdj7g4BI9JENw== X-Received: by 2002:a05:6214:c64:b0:4bc:33f:4515 with SMTP id t4-20020a0562140c6400b004bc033f4515mr24349989qvj.44.1667578776520; Fri, 04 Nov 2022 09:19:36 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id bm7-20020a05620a198700b006ed138e89f2sm3146222qkb.123.2022.11.04.09.19.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2022 09:19:36 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 2EF058009D6; Fri, 4 Nov 2022 11:19:35 -0500 (CDT) Date: Fri, 4 Nov 2022 11:19:35 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Resolve partition strategy during early parsing Message-ID: <20221104161934.GB16921@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Nov 03, 2022 at 03:41:56PM +0000, Alvaro Herrera wrote: > Resolve partition strategy during early parsing > > This has little practical value, but there's no reason to let the > partition strategy names travel through DDL as strings. > > Reviewed-by: Japin Li > Discussion: https://postgr.es/m/20221021093216.ffupd7epy2mytkux@alvherre.pgsql > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/5fca91025e05f803140831953c09a36f08efcef5 This caused a warning in MSVC. [16:10:46.225] c:\cirrus\src\backend\parser\gram.y(18435) : warning C4715: 'parsePartitionStrategy': not all control paths return a value I'll send a patch to make cfbot warn about that soon.