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 1lyI5e-000240-F7 for pgsql-general@arkaria.postgresql.org; Tue, 29 Jun 2021 18:04:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lyI5d-0000ah-Fc for pgsql-general@arkaria.postgresql.org; Tue, 29 Jun 2021 18:04:05 +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 1lyI5d-0000Zu-6f for pgsql-general@lists.postgresql.org; Tue, 29 Jun 2021 18:04:05 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lyI5a-000891-JS for pgsql-general@lists.postgresql.org; Tue, 29 Jun 2021 18:04:04 +0000 Received: by mail-pj1-x1034.google.com with SMTP id cs1-20020a17090af501b0290170856e1a8aso2472074pjb.3 for ; Tue, 29 Jun 2021 11:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3NCKCkSze2Kt7Bv9qVZBmsJtmrJCXlvpwH0VE7eesF4=; b=B1IX9b80JAk0AbFaz++G7B/YdtOiNPD4kYzbRzBW1VgoORNAeswI9z6OidtqT2IOKJ 6cQaYd9k1WckSuCKU8IxeDyKTDLjXmX+F3kfvvs/7Is95Q36ghgW3CqxvUebN9snmKV0 txt6Fx8IcVHCJR5nqgLzUayRagvfKT9iHZN+jESOmSJuRhlT/LWY9O4pM6xQW6oDkzZH fUqcc8ObGfrm0w9bfEHnNkEWA5VPKWrX3QR5vOEqowDol67/KgDU0/zkghfHvlYWL+Uq 709nxInfOxAb2Ihuhq9r6cUPFigS+7k8vNxSBo0N+MSS9QAX6xam0nx5evhS+bEJotrA qYsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3NCKCkSze2Kt7Bv9qVZBmsJtmrJCXlvpwH0VE7eesF4=; b=iDK/ro/YZBUZzoS4oFtYSwMustnaZ/J8qkh2CzPbn7V/v6Lb4UxwYUXFjd2Eq4hUJ+ kINlxF7xEKPfaRFQB6LjDiEwe8OfCby+xL5irFqIg27ftt+P5kx7xUHbam10VV3m4lsS 1q7vKvZGubhYul43ms9lkgJh6+4Qk1qqinAvUu2RYZ0GaQFSZNvp6wUCDKEpsYMjYfEF gu2s7W5gLijRzY8cqQul8GC/BXURe6SsomHx91djxmnPtAQ1T8teS4aKvHap89BCN6u8 +V7viLHBZuDifoUVVvfiUscMU7Bs01gipNaIEtDYUjoRRz90qEF/Sw1qdDcRTCwAd5eI tE8w== X-Gm-Message-State: AOAM530uDS5PwMSVamO/X6un9kx6nbRr0RCNOZFNYnReWRYiJbpNla7u cEuOxQiNYmzruErbyn24DBi4jVlkfJkzssG9BvojPrM3gAimcJjj5msTDPxxRvB12d/xlBw4oqF 0uK/SWTU9+XKgMvBYRtbmtLqCV9W0t9D55xH8QTLdCgHiIARZ0BfbSn6YFG0pKQHuz9H2RYNgWl ZtaBpAz4jjVC3+DBP6wiGZr3iy/vChERmKUToHahXGnJIC0XgpTP0v X-Google-Smtp-Source: ABdhPJzbytPr9nq5NfH7fkVIqOpSE8dSibhVJ0BDP8EjLV5AbigXhZ/5vTY5f+AkNBK5BRyd884xsQ== X-Received: by 2002:a17:90a:ee95:: with SMTP id i21mr71420pjz.231.1624989841357; Tue, 29 Jun 2021 11:04:01 -0700 (PDT) Received: from ?IPv6:2600:6c50:157f:eb87:dd68:28b6:445f:e93d? ([2600:6c50:157f:eb87:dd68:28b6:445f:e93d]) by smtp.gmail.com with ESMTPSA id 201sm18855407pfz.125.2021.06.29.11.04.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jun 2021 11:04:01 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: Re: Do table-level CHECK constraints affect the query optimizer? From: Mark Dilger In-Reply-To: <92045cad-cede-0e90-8d22-62c847f3104e@gmail.com> Date: Tue, 29 Jun 2021 11:03:59 -0700 Cc: PostgreSQL General Content-Transfer-Encoding: quoted-printable Message-Id: References: <5f718120-a286-71ca-3d31-7bad70f0194e@gmail.com> <374d530d-ec98-f1ea-8d41-21e661aa9ab4@gmail.com> <449566.1624984976@sss.pgh.pa.us> <69232971-4992-6df9-d629-d45e8a176526@gmail.com> <452839.1624988762@sss.pgh.pa.us> <92045cad-cede-0e90-8d22-62c847f3104e@gmail.com> To: Ron X-Mailer: Apple Mail (2.3608.120.23.2.6) 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 Jun 29, 2021, at 11:02 AM, Ron wrote: >=20 > What's an IOS? An Index Only Scan. See = https://www.postgresql.org/docs/14/indexes-index-only-scans.html =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company