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 1wi9Xe-0002Zg-0v for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jul 2026 11:37:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wi9Xc-00HVyY-1c for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jul 2026 11:37:13 +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 1wi9Xc-00HVyA-0i for pgsql-hackers@lists.postgresql.org; Fri, 10 Jul 2026 11:37:12 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wi9Xb-000000001YI-1iUQ for pgsql-hackers@postgresql.org; Fri, 10 Jul 2026 11:37:12 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2ccdb73f0e1so7111065ad.3 for ; Fri, 10 Jul 2026 04:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783683430; cv=none; d=google.com; s=arc-20260327; b=qTQb6zkNIlOWiE7ia2f/qChb49AeAywJXSuhnJ21OoBszWpxSc4aztszrARJ18lyR6 MHBIolXdiourNnGVB8R9YiDOQraDiMxqbHNh5YepB/ZT3oZV+eGOB0cSW2wbHAJWDL+W 5eMl3afXL4tviMpbWsfl6CQ7pTsTevZsID2woEYd7JoFa/EgacqjRVu3SRWbasWL3A+u ncPRtVs/70BLY2jl9Gpxeq0LA+8McgeKsSDpvKT4981IgnlvCcr36rRVl3xdkdaCaDR6 L0tjSpjV9ewnjADBWxLlH6zQXB3jF/v/ADivdXSmoOpl7gJ5Y7GtyQ8o12IzfwBGJpgo L8Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=X9WqGNCNBwYRw9D2nadvVXK65WSashsD0kBQtHn1w+E=; fh=ytlDVWi6DnlZe3aF6tLe277LzG1/7/Z6ZJwnp96VrtI=; b=NZH+hTd3UL50ziVfJByA2B/uuG/htm4HXGu4Rv2eBKdcfOSvcxLyGAspc8Se9xvyGC aWSrOsjCEOWwHF+kIPxrHmSttmz5EjHZQgcfUzd970CqqeZYrIScN97veDgvlLVY+Pov r8linLJl2po3Y9Hf+cFn38uEe7xoyP+mZzVyY+Sa7xkcAKOPCfHk9FoHjHZsjstkX95o +F8ymhzTbnspfyP0VbTUYh4hS1js3v/WnAlwRk8Dho8X4DRDjS8+pmTghrMTsO2YERzY 7FkgpJxOeUwcrG7o2Wr3a30in4QHjqL9SKaWmbGv2C7YKGcwf+tYGHa3wDgP6gire0h8 eT/A==; 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=1783683430; x=1784288230; darn=postgresql.org; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to:content-type; bh=X9WqGNCNBwYRw9D2nadvVXK65WSashsD0kBQtHn1w+E=; b=ZKjwiyTwZVEvgYq0Jxd8AyTfPHAC2f+501st+dSC9jl6HZpGWZLzc+G/E9wYK58yhD e4PHRVlI4K6V+zDgIEUy4B4Odi+I9joUOYBfGlJNqGMPVh2zZdbdHVwfzPu5kYK5nOhi ZI6O6vDMjFUjmV/TrhPL2pUqEgj3cDwqlSOkmbr1BHndDGH6ivzCYrqWNy+oPrF2rSpO tU+kJa7Mrn6FJxpzBbKhXw6eGIGuzAmyd5gnspQLpxIfshndvVyWnobajk/PSWfPUK/E PzYTkTPYn6cHNPUcm+cxBO5XVs299kxBWo/P7KP45T/uINvh6H++c823WJUnUHgYcemd DndQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783683430; x=1784288230; h=content-transfer-encoding:content-type: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 :content-type; bh=X9WqGNCNBwYRw9D2nadvVXK65WSashsD0kBQtHn1w+E=; b=sF51e4SvWGc7IR3SoSi3R7EyCaC8WyWhyJBSoj/TrlcFLUSCygItzFlmG8gT0/B80h Fzihce10XxAzFAF3Hdz9RQqVD9MrqYBVug6lstyiBJGT6ylajhkbrknGwtsKEx4WirFf eZfMM2ExKa93F8xxhxns4P3v6/yhkvsK71/EiwGx6x8JE2CsOb36EQUYyFmjw+gcydEG QahOm/Nj/m9Mi/Ee1arnvjCKs0il+ykEwOA7NGMoDIX15G9fTqMfc2TpCp+ZS/XfmXYI 2wW7Aiifc4xpmx2wVakpwVMSDjZq9q/ofrOv86dIWpj8LoNymdMeIKU9eDpiE+kNbBeF /PYw== X-Forwarded-Encrypted: i=1; AHgh+RqTBFANmter3Gd9qGdZhh45Gufu6E7ceqeyOCgJKlUNdzkC4EeoFNS7zKTh/GPae0WWGhOr6WxhMdlg0veV@postgresql.org X-Gm-Message-State: AOJu0Yx0ZDl7PcXbYLsJGI91pIxI1JFeLkSk5jZnVo63VM2raHVNT3tg 8EZLhrh6vcTsol9hGcCxRQxtPnZnLsFbME92sbTuqcghG7PFhPBQjcDg3vc8iOCSIsiL+WgGHWu 0LNmt/6n+aA9ac5jNkjERtWMv17k5SGE= X-Gm-Gg: AfdE7cmbsbtPhCkQtcG/bc5fUNCVMF2YvmtOZ5+jdhGMdZ4ZKzYKPbqFl8iVy3lXi5l FGqtu782YK0b8NX6e8Doq2dYI9o3F6aiQI6yA1rmN872aa1napAcmNFIkKrvsYCvNTXQOZrfoeF 1ZPTT0ZLvWBzQLxS0Ef/O552ZyoqPPyjXsvqXOfHGgm8+eWgLbDsB+Z6b7AMxEUCthYp1hMXLWQ +0RDyCwk+UK2vVW5BTuLYYjJ8mzW6oFSmJk0+gz8lV6/nl+ygn3/GKWwM2WCuBVBqcY/6Yj7jrI LusUImYEjOG93xEClaXGHaq3PTgndFg5Z78fiYNVSkJlaL7BSMmnwsJBOGzKIijnxaLVGByEPlS 7qmitWahO4DY0kWI0H/T2WweOPm3X X-Received: by 2002:a17:90b:2752:b0:37e:10d1:c05b with SMTP id 98e67ed59e1d1-389417e4858mr10948343a91.22.1783683430167; Fri, 10 Jul 2026 04:37:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Etsuro Fujita Date: Fri, 10 Jul 2026 20:36:57 +0900 X-Gm-Features: AUfX_mwq8PIgGvy8Gtl6weSj7knkddO6XH1G5WO1rmuCyiFD8OLl8NzSbXEzFM8 Message-ID: Subject: Re: use of SPI by postgresImportForeignStatistics To: Fujii Masao Cc: Corey Huinker , 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 Fri, Jul 10, 2026 at 4:40=E2=80=AFPM Etsuro Fujita wrote: > On Fri, Jul 10, 2026 at 2:37=E2=80=AFPM Fujii Masao wrote: > > In the committed patch, I found that the set_*_arg() helper functions > > in postgres_fdw.c are declared static in their prototypes, but their > > definitions omit the static keyword. This looks like an oversight. > > > > Attached patch adds static to the definitions for consistency and > > to make their intended file-local scope explicit. It also fixes a few > > nearby comment typos. > > Good catch! Thanks for the patch! LGTM. My compiler (Apple clang version 17.0.0 (clang-1700.4.4.1)) doesn't output any error/warning about that declaration. Actually, it's allowed? Anyway, +1 for adding it for consistency. Best regards, Etsuro Fujita