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 1wZsgh-001Mlk-0X for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 16:00:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZsge-006kA7-3A for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 16:00:20 +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.96) (envelope-from ) id 1wZsge-006k9z-2I for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2026 16:00:20 +0000 Received: from mail-dl1-x122b.google.com ([2607:f8b0:4864:20::122b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZsgc-00000000vvL-2j1l for pgsql-hackers@postgresql.org; Wed, 17 Jun 2026 16:00:20 +0000 Received: by mail-dl1-x122b.google.com with SMTP id a92af1059eb24-137ec563a95so6875704c88.0 for ; Wed, 17 Jun 2026 09:00:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781712016; cv=none; d=google.com; s=arc-20240605; b=B76LxOrUjiLyD/RUnuoLAZCQH2EIOoy/ppzrpGGvi90vWv+CWPXQNqp0w+kb/rS70x 44fnkVdtVu/oijJ9ri3kS/YtvKOgQvvLf1aGy0mqYaFyPLJh923Jps7eqKg6RxTslwy6 FlumY+1nwoIE8xMO37alCWZ9YCmWt+danSpMTtOTSo+UV5oWN1KkmoiRe8zB+zdB08F3 n4wOJmky6laSG3ABbmApOYYSBbCCX3HQPPVSoIoicgRIHDiAcy2WVZNdo8/joLtmStv+ mGv9WsLnSLbh14csO05r28ZfNwHB8srA70sZMzkE2o8D6qPoM05Y/nIHWJQvXqFZxelu 4TuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=bD8CcR5+SHibuf6Vz9SXPqAc8pc6bMR498ZVWk5d1/s=; fh=ygL0zy/NcGe8Zty1iHcEXnYCEL5XvYXYWS9z08Gzj8g=; b=gF00eL/cpx5L7y/0F1ww4DjoqCslGT2jty7jSat09SZO9mwpd7QMF2+K6rAsRgeXEV Y/y4Ezo2AuwRdxEU7ch8Q8uFShw432eUMd5kTaXGa6HPRaIjhEQ5fL9zmnCaYleA4B6l d08TeoDPqndZqJcY2umx3w1bhCDm82LiQ5API3p2K2XDzm5gdi1eTQa3hXzQOn8Qu+DV apSJnP64mc0Am3B+fTp77vmLGodQ6ON8edO72QV40pXiHH0ZYjYsyIvi8hHl3yzhsuu5 6tF11gVgcmvQGm4xWdlDZ62i1ufyZxl6FBdAJ4RJHOrAw9kgCSIGF5e1GVmdcrnlQ2X8 iIWQ==; 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=1781712016; x=1782316816; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bD8CcR5+SHibuf6Vz9SXPqAc8pc6bMR498ZVWk5d1/s=; b=PMKTeDnBoxW9R4AsrUx75+XyVnPQwukji0zUzMfDEfHgfuo5qYihdAHpi9sXKrjX0M rzbqoC3P6dSNxIW/tkntFoqETINjPADb17CRylYcaCdVR1c0hmObRk9NindkzV93nZtE wmYAEnDnce7Iq5VWWwHzUFgPV/tsYbYpsuYEQdQMgjOs2oFGSlc4P2YHdwYwYNrnm4j6 qEkHaBR46sx3HmP+2Q1ULOhPFqydxluokzs1T32MNhe2CZCm/AEjud1x972tnEUPEUax ZzGK8eMENxe+2UQUUQAubFbcyedAxkP8EMdBBnGTqMPR6RfLH7XkqrnVJsKhQJLJ0riw vClA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781712016; x=1782316816; h=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=bD8CcR5+SHibuf6Vz9SXPqAc8pc6bMR498ZVWk5d1/s=; b=KLOnq7GD+ToPhLVq4G4k7rG9GcTxdAMWTYKSNfcSAMGngDArP+ip42I9fJItCqS6VI YSmbYBf3z9xW3xA6xFtbN8JMGLAL/lPw7H6eM0+6GQLnvKitetmlVoqmvYI9Qu+pvTVs xeEWnRMgF9/dyRzNOC7VKxOaWj2Knbv3oXwHLXT9A2qoreZJ5G8R7jFomycK+O+WgMlZ yTCXFp+fkmwHP7c2CK0o2ohvunxJL7sM91VQyyW01nRpKbRlfImv0TfW0RH8Xc9BbNKs aVEtH9ErwUGpCHDIO9KXA1sO4/SJv87EBhYXsJYVZyhh2RgM3lXk7AmrYbaQ5McBYE+L 2hOw== X-Forwarded-Encrypted: i=1; AFNElJ8+VFQ0xEPU7894fFVaNCeIMFQ/m9OIs1j8O+zPV7ah/Z5NTSh8CWYBjz/Po/tadRiK3kdiT7SQ/bVIUobk@postgresql.org X-Gm-Message-State: AOJu0YyGqOO5UoM0qkl98Yju5e4PN3GRgYBCYFteV5414afgn9gaZUIS dlKXNLS2jWvNk4EwyI4WJdHn6laV/iO2WK9kyuuu2R3WdDAg3g4La2LbVGjYyU3hqUEX6SkivtX Romeg6hgiuP1giE1FAQXvELKuc3d1pGw= X-Gm-Gg: Acq92OHK8t7lBDOLMQVUY3p3qZkE9gJUspuXBWT1M5EA9CMQBlM9RKO8627LN07n2rA +QaYxHYQPdy18f3WkADJZUPhz3a/65okfbzBiW6ECI+yNGUAe3OkvfgVPXJrzwatqxterfk6ayb 6s/HjNSpJMWng/ZtQSERCOB6V9fLzke7/PAfslRQzkEjKQJHD6nmVvG7mdVcbfiZnvIBr603pI+ ZZy3sC0oyNnitsusTrd5cLpUE3Im1ZYogNaFoi2JX8Gly8qHgiWBkGILbZQEooSEZOUJA/xIJAc pLP2zpQOdq4aLuXo6QZYgyrKSkBuZ6JiJb++iFdWminGBYgKF0L6p+kElMOZQ/qogJ6kiE+zVrE vvdAIY9qH2BYo8A== X-Received: by 2002:a05:7022:f692:b0:136:6883:c4bf with SMTP id a92af1059eb24-1398f67c48amr1983880c88.15.1781712015825; Wed, 17 Jun 2026 09:00:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Corey Huinker Date: Wed, 17 Jun 2026 12:00:02 -0400 X-Gm-Features: AVVi8CdNQp0G_pDYmvDsuMMUnd2ApnGvE8tG17PisLGTy5yC1iWg36-g2Bplx4M Message-ID: Subject: Re: use of SPI by postgresImportForeignStatistics To: Etsuro Fujita Cc: Robert Haas , "pgsql-hackers@postgresql.org" Content-Type: multipart/alternative; boundary="000000000000cb9e300654752762" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000cb9e300654752762 Content-Type: text/plain; charset="UTF-8" > > > 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 pushback on functions that had a large number of parameters, and this would definitely 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. --000000000000cb9e300654752762 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

IMO I don't think we need to go that far, because 1) the new functions<= br> are provided for FDW authors only, and 2) we don't make changes to the<= br> stats that often.

That would be simpler= , to be sure. However, in the past I've received pushback on functions = that had a large number of parameters, and this would definitely be a large= number of parameters, approximately 17, so I thought I should at least off= er the variadic way.

I'm proceeding with the many-par= ameters model.
--000000000000cb9e300654752762--