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.96) (envelope-from ) id 1waADL-001Zj9-17 for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jun 2026 10:43:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waADI-00AnxB-0C for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jun 2026 10:43:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1waADH-00Anx1-2E for pgsql-hackers@lists.postgresql.org; Thu, 18 Jun 2026 10:43:11 +0000 Received: from mail-dy1-x1336.google.com ([2607:f8b0:4864:20::1336]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1waADG-00000000xMt-0dRR for pgsql-hackers@postgresql.org; Thu, 18 Jun 2026 10:43:10 +0000 Received: by mail-dy1-x1336.google.com with SMTP id 5a478bee46e88-30bc806fcf8so858934eec.1 for ; Thu, 18 Jun 2026 03:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781779389; cv=none; d=google.com; s=arc-20240605; b=dlVpedpd5O+ZScDz6N3GpwZuSaIiEhcR7ScHSh8gwD53l8ffhQccyhejnrdtrX742G oHfFgW/kQtZFpbDldzTQjPzTBsFOtcaERRXFmoB1GAHMt//H8ZFBtUNtVNYc+lnd0sCX rJtZcwK/TCbK5rj4Zi4P1fhjmCvq0zXNQbcwDgnkaru3Q8fvRochp0phmkECkPkfj1fi Ui5ie6tflUYI5pM8ErI492XsAzQnhBdeMInQwrWila8btMQg6dAIR1EaZWPeC7UiNIt2 /pf673Chgut36h6PZvsp4WZEBGEei0eY0q0rEpEW/mDJNDZ0tWAE6FlazmFYcctKOX1/ CWgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ENy1NWriGbd7D0tRmdaJJlm4ZX7+dw417QaZ20eJNRg=; fh=IOngc0vLk58gnVrz5RL1V8ihf1pXe2uM1EWJENr+rV4=; b=JHX/fvIHLP6SKpkCd15EL3+FvFavS2IT0WM/eEKcNaQuYNOHcoEYsW0qTqYgqgWfA/ +sguwnB/8RLkkuBf8Eq8cKPWdTEoFVKHFy72wdcv/dYS3Pj++9FJ5c+9gONoj0btKSxu Kkt7VxwCxJbRhtZr6uDFeavNT26jWEqAdwoy3Svm+h2ZQ8T9+AWx6F59u4Fq0fbwog56 fuPN78f5iE07etklNF5SaFoATFtiBYV1bltVvzryZAgBzrd6HaCcKyBt3qrFQtCmPrIY hTu8q/Cg5YFGgPFMOsHdKWVd/TuSVenfw4uakaCUho8SbNVrGyrZtVyQG3Adw9hqrSGm EdLA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781779389; x=1782384189; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ENy1NWriGbd7D0tRmdaJJlm4ZX7+dw417QaZ20eJNRg=; b=s2Srv4zmmmvIbnEJNygZqbH15CqJBynLlPCrEdcK7/eTr9aSrO+UnNNaeo7xMFAw20 N3QCar29pLLusg1qVNpjCW9ow01G9VULOK7/D+Dk42Uq3EeA4RN9Z2NuOwUVQreW+0bl 91Y8Xr0IdrnBGurmr/ZplfM41Ws5t168gDed7CSFSbuByMzdGoI6J0QZmk2r+QInfN/g kaxie8P8RCwiH6D7ZjqNVxaB8Ly8ERgm6PCmFrmkk+FIAH1E81ao56W5Ut330Zlmcl3s 3WhJfw6ygtYIfjQAmf82ndxuCddw5BZx+sMG6jT2Z3Bzt4VxPC3kPBUHuqixuzHlTAfw JSrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781779389; x=1782384189; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ENy1NWriGbd7D0tRmdaJJlm4ZX7+dw417QaZ20eJNRg=; b=P5eMrNm7lOEtQTSJugsbFMFxxeendK9Hag7dZtfD+pW6hHFpHDBtcCn7bVGJWAsfnx QFAnlErrPEvVJqvboNT0kwiGmZoNLyOWRGvjVOucnq4qpK+mUaI8cdKTirKwkZZzdn7T /UcSuoiQW2OcgtEKA06NWg44VV4qgpAWbt0zyWlqfLjkyv1U8V+ONTmPdmLpeL39DJOX Kf8Lo1H4Tc6rtfxDU3IlSxOaaE4I/wL28YtBZzswW7RPpvmixMvGqhiF4RHK4Ry1aL2z iOZAt0fRNtt7Y+Q2nXPobwVlSn92onP1vzas28A6ffmlY4wU9b7gg0QEMSvyDbKoRs4q ymZA== X-Forwarded-Encrypted: i=1; AFNElJ9oy5Vkjq1Lk5pxjS34ZZhzPLchEyXTvSJR7KLDYQstGOuDdUwkS7ckBlCJxWZ7dFp4Va05JVaaJGOaQhFG@postgresql.org X-Gm-Message-State: AOJu0YyNXV+y3/HPpLAbwKWNY5bZ7YV8ZvVVISuEUfXQnLlFJi1v3e/v XyubPGOE/+IYr2EUj79FcOyWf5jZ6q+S62vZKMtyOE3OcJXhTa5REvAXUg7/5tn1zPb4FFACO9H CsczInvN447LntY3VKFyUQic8Tq3+SwE= X-Gm-Gg: AfdE7cnut5W/kpb1VpTqbdQlBcywsx/e638qsvBiLE/s8Wg2ab69vbuLJMC/9rEPz56 32SwDuzhJV80vWgBJtkYi7dxxAy7eRMVIB4/LGcNsAgjWWCq5cLJ6uzkVYANj3OozhrFDgwqB0W AQCgIdOmudOuO++AJalZ3XEIwv7MSg2yxCvEe8adnjDuDtxFONfeiW3ztDWfl0wWLIgndMZ8szd VFW7AW/viC4DhuKt0QP7WOx3mzPGfDW17NAFBlj258T1PyPw/wMekUHNsnE1B8BUadWT+S1RS+C /qtIMaPeLZfJREwlCJTV9lckrxi59vz7PIyFZLc/wGDOICyGO6jeEW9zSdLbIKQBs//2KVMdShQ jXH+2kDlEhRkLHQEyzdkgXTi+EajHV2JU4GMpfam0 X-Received: by 2002:a05:7301:ea5:b0:2e2:4979:ec7 with SMTP id 5a478bee46e88-30bca94976emr5236211eec.10.1781779388537; Thu, 18 Jun 2026 03:43:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Etsuro Fujita Date: Thu, 18 Jun 2026 19:42:56 +0900 X-Gm-Features: AVVi8CdCve1moNkEh_e1vYKpKBwXG_bJIXON2xV8DCJqJDWmruR-wEjegZWZyTU Message-ID: Subject: Re: use of SPI by postgresImportForeignStatistics To: Corey Huinker Cc: Robert Haas , "pgsql-hackers@postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 18, 2026 at 1:00=E2=80=AFAM Corey Huinker wrote: >> IMO I don't think we need to go that far, because 1) the new functions >> are provided for FDW authors only, and 2) we don't make changes to the >> stats that often. > > > That would be simpler, to be sure. However, in the past I've received pus= hback on functions that had a large number of parameters, and this would de= finitely be a large number of parameters, approximately 17, so I thought I = should at least offer the variadic way. > > I'm proceeding with the many-parameters model. I think that that's acceptable, considering that heap_create_with_catalog() has 21 parameters. Thanks! Best regards, Etsuro Fujita