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 1vO89L-00BQxP-0u for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Nov 2025 05:33:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vO89J-00E2uk-2r for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Nov 2025 05:33:06 +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 1vO89J-00E2ub-1u for pgsql-hackers@lists.postgresql.org; Wed, 26 Nov 2025 05:33:05 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vO89H-001Y4h-1l for pgsql-hackers@lists.postgresql.org; Wed, 26 Nov 2025 05:33:05 +0000 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-43379251ff9so2780275ab.1 for ; Tue, 25 Nov 2025 21:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764135181; x=1764739981; darn=lists.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=hU6WX9Uwyvu5pwC/n3zUs3cZjzP0BsYWnAtOmqDHr7I=; b=XAmDCSrQBZZRmMHNRyrndDbgk4bSlV8xZjjirWz7kf4cUBrOUAsDAXJMgX3LuiYPgY dwcs6o3fTD9rtFp3fvH9p3qHbDFAkpSCFDeo7rQ4i7GEBkW3wnvHX1vDg4WJj0LtO6yh nEO/zZHoyfz6QLliGC3MYzyTCmJCiwXCA4IjuuSdgk+U+vS+L7mZRQWO3IYXTpnf5GDF d65iZL+5h6M1rb/5L87H1aFT6p9jdye6Rjn8lk1K4pE+SNjKZmo7zcKCOzAryNEcJzwo HRKWZucU3YVy+Acy8FtcsRaBT2r5q7+0NfRpSUQpo9gl2VZqX7kxQy3QOwYL3dibQOZi ND2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764135181; x=1764739981; 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=hU6WX9Uwyvu5pwC/n3zUs3cZjzP0BsYWnAtOmqDHr7I=; b=u3fXguu7/qymUwYXanBPztQ+NG6mQSQulPD1QuhbmmCZ4hrCLNNLkHDU3Pkir65lcp jIOw+zxqwK9fvA+JSZDPHlAkb+VUg/WbccJ9Q5XxTGnFY971tsDXSyb56Wi4KG4z3uXx lrU8n1O3+6SIyqqfDYRKEczSXGKCenJ00cuToH8p2Bq5umPSruXL/yU4OJ1nhM2T2zDY DcpSDkEJ4WcBdDKN1mx9Y076qsNX5SRyfkV22QPcu7mk2Ndr3w0qoevPBuzRuMWdaNdY x3hZL84LW4bvaJ+LNvOUtN6DuRKUGaufB7yI7NPhAi6bFRYEnXqPU9ax4oS7wFNEEgmy 4wNQ== X-Forwarded-Encrypted: i=1; AJvYcCVBv4vdqVzPy+CJLOSap6Y+kd0F920rN8+6NZ2cB5mVATgI0446UBmfq9w2bfls68cJR7vLX4QHcVK1S2wA@lists.postgresql.org X-Gm-Message-State: AOJu0YweDst6J4lCDmM7UlRoTPzFyut6gSWYOMlDD8SObZEx+5UfdNKT 6XMH5rd8dFMw7FHRhG4VvcwzVqi1Kc3Ip2kq9auk87HbqcC10JA607wLfH5wOTA3za7+VTpAzQV egcSA7h+EeQS6bVyW5g27RsyIDUKs8ac= X-Gm-Gg: ASbGncus8FnOrO4tim+GvnhYJxPSvxfi4nd0J5KjDk9qe4kXe7KcEcPi7pkVV5ZZ577 u74KXi3KNtZrb2iuHbMjbXIIirAMkEp1R0iYf+Ke6HMJhh2uD8geqjBASfg3J/wn9nlTYnJG0Ah BwHKovVMHXxYLohA1vfkL5F/AOSr3hXtBHmtEUQ6YIUTt6wjrPYJk3ezq3Xi+mR6+/qbJuSOwSh yeNwsEuDZSp6jO+pVHooqZmL6diU2XKku4iA8YEtXIOPs1k4gwGfHNN9Zbbgnz4E3UQtx9spK+5 nZ9xnit64V3dE8xcNdrDCKUatPkAnskVabyr8TUr1LFS7JSo5He1xLXQe96N X-Google-Smtp-Source: AGHT+IFe4Z/8SWBs7xRexeBdeR38jk4UaoXDU+bXwfFWcmAiotccTBmfKgK9IhQTmEqoINXACCLqLvptiXO8Tg7M+44= X-Received: by 2002:a92:db4c:0:b0:433:2cf4:5ffb with SMTP id e9e14a558f8ab-435aa880479mr141478965ab.6.1764135181362; Tue, 25 Nov 2025 21:33:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Corey Huinker Date: Tue, 25 Nov 2025 23:32:49 -0600 X-Gm-Features: AWmQ_bkm6qKLGcD_Z7nHfPEjg-FmfP3MsOjMIJ-dGYAZJpUx3hkuhpEqbMuHn8M Message-ID: Subject: Re: Extended Statistics set/restore/clear functions. To: Michael Paquier Cc: Chao Li , jian he , Tomas Vondra , pgsql-hackers@lists.postgresql.org, tgl@sss.pgh.pa.us Content-Type: multipart/alternative; boundary="000000000000d22c27064478ba82" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d22c27064478ba82 Content-Type: text/plain; charset="UTF-8" > Finally, the consts are non-appealing for me for functions that are > internally used in these files. I'm curious why you find them non-appealing for non-exposed functions, if you have time to elaborate. > And forgot one: > valid_subsequent_attnum()'s duplication is actually adapted IMO, the > argument lists could have different assumptions depending on the type > of extended stats we are dealing with. Yeah, I saw that, reviewing the diff-of-diffs just now. --000000000000d22c27064478ba82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2= =A0
Finally, the con= sts are non-appealing for me for functions that are
internally used in these files.

I'm cur= ious why you find them non-appealing for non-exposed functions, if you have= time to elaborate.
=C2=A0
=C2=A0 And forgot one:
valid_subsequent_attnum()'s duplication is actually adapted IMO, the argument lists could have different assumptions depending on the type
of extended stats we are dealing with.

Yeah= , I saw that, reviewing the diff-of-diffs just now.
--000000000000d22c27064478ba82--