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.94.2) (envelope-from ) id 1sqT9f-009yht-JD for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Sep 2024 08:01:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sqT9e-006oo1-NR for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Sep 2024 08:01:46 +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.94.2) (envelope-from ) id 1sqT9e-006onD-9B for pgsql-hackers@lists.postgresql.org; Tue, 17 Sep 2024 08:01:46 +0000 Received: from mail-yw1-x112c.google.com ([2607:f8b0:4864:20::112c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sqT9Z-001bh2-TT for pgsql-hackers@postgresql.org; Tue, 17 Sep 2024 08:01:44 +0000 Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-68518bc1407so37295087b3.2 for ; Tue, 17 Sep 2024 01:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeltef.nl; s=google; t=1726560100; x=1727164900; 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=uXGLZJtF1+2FWHZp9uDNiNrfDKOhH2hAEPldOZvwGmY=; b=hLt8GybVtGOyEMRq6AkWSjJbdgv3zQlK7nlSI/M+e+i1WFxczUnxJ/tIJOd16bo7C3 TFAuzrXDOLv4BNDn9exYD6DsKmTX8xvYXRPsCLlxvQuc0AAPWKqAvtxEKLWuTgZGaW7d +DlqU4X09KhowK3xpZ5aRoJl3DObqu6KZV3u6Njv671Rm35desXyuVOgDrCO2W8lA61o zmRNgOuMP5ZF+wxLv7kJM4hxDbO9bGUyJ2pi6x/71GCJzmKmE9YzBVUOXhvntXu9Y6QX EkDQFRE9vYxHleRryDMU3xq3EAMGvC3dowA6uhSRf9WY7QTpdF1m8smJcSduObrGxX+5 bWkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726560100; x=1727164900; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uXGLZJtF1+2FWHZp9uDNiNrfDKOhH2hAEPldOZvwGmY=; b=xBDVsRX/g5KSXX+ahu6o4wNtYnVgKfreHSJhO0i1GXG3rRwyOITDrOogry3UXoj5kl zFux/kcrc5sSxxy1+xC4Oeny6c1Ob1LKamueDe9vtJQeJlu4a8HomU95ci7Ydqq0SJ5e EMNQMEqNbhtD3KSyLVoJHlFsDaxEmoi2izVnrgcYVC/iyPksgNEvlVjNM840YUT3/six DI7ruR1F0KJWIe1HIbr4nfTa0OurbuWxM98pAZ+rKgctKCUpDgKBtb0rrKMfyYxgxBCP vwrjFjsH1QPKI3Vi6LbvkRbRBCkz4mZNEwTNkzRxUhNgCTI8tNfGHd3VUG9GI1xXnMT4 6dlw== X-Forwarded-Encrypted: i=1; AJvYcCXhmK/eCTVaUhDUeg+yj8bDyTPCGF47fs+1YGP4coiuNNHjp5q7d0e1oIW6YlgUzqCGUaZn3+hiGCroEk4u@postgresql.org X-Gm-Message-State: AOJu0Yy9mCiC7m2cJQFYzxlJrrNzMKPrZLC6LfdzwsLjKSAErmMHfwKM F/nhCVyPuJ4vMWc6ifPJZ+fYxQGe8xr2fs84fSKynmx5n4RzCQyLeIjKf0x/q6kHupvjnHca2k4 YW8u49ztMtAW/74NMVylhvjbvB5++Vu2/vH2P8w== X-Google-Smtp-Source: AGHT+IF5Us+aO5ZxF4e5RJ31oV0etYqiIgg9AS/0aeJS0mXlWhPEfg4EFC+wtOvtqg4iYfL9Df6YLud/JWu9EJJPW0Q= X-Received: by 2002:a05:690c:f8c:b0:6dd:c97f:f1ae with SMTP id 00721157ae682-6ddc97ffa44mr47856407b3.8.1726560100522; Tue, 17 Sep 2024 01:01:40 -0700 (PDT) MIME-Version: 1.0 References: <202409070955.wyuhquqflbxg@alvherre.pgsql> In-Reply-To: From: Jelte Fennema-Nio Date: Tue, 17 Sep 2024 10:01:28 +0200 Message-ID: Subject: Re: First draft of PG 17 release notes To: Bruce Momjian Cc: Alvaro Herrera , Nathan Bossart , pgsql-hackers@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 11 Sept 2024 at 16:10, Bruce Momjian wrote: > You are right that I do mention changes specifically designed for the > use of extensions, but there is no mention in the commit message of its > use for extensions. In fact, I thought this was too low-level to be of > use for extensions. However, if people feel it should be added, we have > enough time to add it. Another new API that is useful for extension authors is the following one (I'm obviously biased since I'm the author, and I don't know if there's still time): commit 14dd0f27d7cd56ffae9ecdbe324965073d01a9ff Author: Nathan Bossart Date: Thu Jan 4 16:09:34 2024 -0600 Add macros for looping through a List without a ListCell. Many foreach loops only use the ListCell pointer to retrieve the content of the cell, like so: ListCell *lc; foreach(lc, mylist) { int myint = lfirst_int(lc); ... } This commit adds a few convenience macros that automatically declare the loop variable and retrieve the current cell's contents. This allows us to rewrite the previous loop like this: foreach_int(myint, mylist) { ... } > An interesting idea would be > to report all function signature changes in each major release in some > way. I think that might be useful, but it very much depends how long that list gets. If it gets too long I think authors will just try to compile and only look at the ones that break for them.