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 1nSMp3-0002v1-7V for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Mar 2022 17:43:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nSMo4-0005i9-06 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Mar 2022 17:42:32 +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 1nSMo2-0005gk-Tl for pgsql-hackers@lists.postgresql.org; Thu, 10 Mar 2022 17:42:31 +0000 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nSMnx-0002ey-QM for pgsql-hackers@postgresql.org; Thu, 10 Mar 2022 17:42:29 +0000 Received: by mail-oo1-xc34.google.com with SMTP id y27-20020a4a9c1b000000b0032129651bb0so7656013ooj.2 for ; Thu, 10 Mar 2022 09:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T1hLUl+ckOzqxyyza4dF//sQYAWdjLo39m4lkyrt0/g=; b=L3M2N4MKZ4leIzcQ0pG2Oj3S7txY5DUwIGPuP5eLw9Nt0Xsp63huPoEC6x/IEyd/Pd qOyqpCEF4ySEuxkc3XI6D/bTBfnGkLnVdwFKEHuSa/Oo+F0+sFXvv00nkKY5kKVTxdHM JmNZFWLxp066ojkQxcG0q5NA/DOaxq6x++9PbyopS6ve2qhX7xcnlGu0H4GwoiBoMlux wf/QzZKZkDfpOlTAfadPvPUX8PeivmZ3zPPydEW1p/CvLr66fY50f4k+jq64x7VhebRC DaAMgrXhJwLGetkj4AykpQV6v/50V3a8NynmyJVz/RIiUNm+a45roS5Fz6kQJP1Siug7 wzTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T1hLUl+ckOzqxyyza4dF//sQYAWdjLo39m4lkyrt0/g=; b=5NvxwM6T4C3LzMv13nWtI0/U8FsVgOrrUXwsogMi+0bTtRGtbOR0BWoqtYLh+Orhhs KfLzpTFHr0W29NRDYy9g2ulYuHaAubbaTER2C0kFC1LDpvRqQFaWL6oiDtbOJskUTal9 nVawEs+9ntn43dBjaSO4WS66xmlN8zDnREPgywy3BYzCRc7Z5yLCMPkGlkWrQTX0tSkn J9WTs87zFqfKKPbnfr/JuNpQW8CpZYql6YP6lpITc7M50bL2dKsmRTwfy7SdpBIcQ2dc 7EaUkz4ZyGSMLQfBWOYCsd4VXoTrXNORxYiz2OUBAjw07FrTiS4yvyKbn9m6U4GtewQ2 SCJQ== X-Gm-Message-State: AOAM5321yZKCtxUI7ZYW9+I5xDe10QupftAqDP8p2TjBcxKymYM3rKK7 TKELuDidL3xTKFWLUrIrIPLHDpM9S83fvmw1YiGeffcUIow9rw+5tZSJTlXhYIITYu2oJhqi+1x 7K6i67esZXaDAqi5aBs+Hk0TKPPHsT6wME7fTA9LP0wZraQ8tflDdhXxL34FnKSWInODD9m2gQU 10GDYVZnxu686XtGDFj6M1+plkDlRgS2SAp2pZEqAupUIJJ8hXTKe5RsiUBg== X-Google-Smtp-Source: ABdhPJw7FYY97UJPTgGwfWhaHAQ9PSGt54j1pDIpwGYZTk0HhCdlTCnhCdVbJ4/iNa2l4jQl2439OmPU4RAEA0m3YeU= X-Received: by 2002:a05:6870:46ab:b0:d9:cbf6:855c with SMTP id a43-20020a05687046ab00b000d9cbf6855cmr8727527oap.156.1646934145112; Thu, 10 Mar 2022 09:42:25 -0800 (PST) MIME-Version: 1.0 References: <91533bcd-c3a3-5844-7449-43aceede2117@enterprisedb.com> In-Reply-To: From: Simon Riggs Date: Thu, 10 Mar 2022 17:42:14 +0000 Message-ID: Subject: Re: Parameter for planner estimate of recursive queries To: Robert Haas Cc: Peter Eisentraut , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 28 Jan 2022 at 14:07, Robert Haas wrote: > > On Tue, Jan 25, 2022 at 4:44 AM Peter Eisentraut > wrote: > > On the one hand, this smells like a planner hint. But on the other > > hand, it doesn't look like we will come up with proper graph-aware > > selectivity estimation system any time soon, so just having all graph > > OLTP queries suck until then because the planner hint is hardcoded > > doesn't seem like a better solution. So I think this setting can be ok. > > I agree. It's a bit lame, but seems pretty harmless, and I can't see > us realistically doing a lot better with any reasonable amount of > work. Shall I set this as Ready For Committer? -- Simon Riggs http://www.EnterpriseDB.com/