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 1vkJhc-00DZAw-1t for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jan 2026 10:20:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vkJhb-007MVg-1K for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jan 2026 10:20:11 +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 1vkJha-007MVY-1A for pgsql-hackers@lists.postgresql.org; Mon, 26 Jan 2026 10:20:11 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vkJhY-002NIN-07 for pgsql-hackers@postgresql.org; Mon, 26 Jan 2026 10:20:09 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 620577A011C; Mon, 26 Jan 2026 05:20:07 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 26 Jan 2026 05:20:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1769422807; x=1769509207; bh=kLlnBfqABFT/CX+g+75D1TKD0T3LpJS7 +ue/6ntDgfg=; b=UJWTSLv23RBpidMhXbA+s3X69dCw54fjvYesTelBRw3pWUKD Ay4qCo3NCzPOIlk6SCl5oVWNf8CItVfSeAoz+KrMgEtzslBwOYxW1C8pl8A7ACo3 Zw0hYfWNWkYy9+6MlfTLTy0ex+Ps5CY/bnSRvdFCzwTRWi/uy2roMHYDngmmUeCH TySwghOwu908QHsmAMM9tPP4dZttEBYioZiD16TDQNoJFsOvfNWLL6r3IN2cz9xL /5CfBI8dg2qkFBkSs9bV/9rmRf3SqXmlwVOYdtzaqgShkNJtzLZ2eByrSR50CnCt a92iID7PTGMbt1Me02VUl2R6VtIDiK2aIlGFyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1769422807; x= 1769509207; bh=kLlnBfqABFT/CX+g+75D1TKD0T3LpJS7+ue/6ntDgfg=; b=g VFUOMjYeotnRAfAuVCoYN3T+TBOkRmwGY4TUtrhtYicg9t+2jutDcUHkuXqL9u+l RLGIDAzLl01fwYrC8Yw3UC+BCU9hSYOa18Xx+VAM6SRB3ZytIvSrkZvU0t0ZGPPO BoioQWf7XHu+4n/uyXRM8SJilhm1EkexEOCuq00D6GVUE4MCIIqPS0vl6sYoWbSV Pv3KhQebxPWcM7/nXngG5ELS2GtCF1OpJ1NaArzRui77h9lI0/kucJmZz6RNcoJF TRugU48Uu1+Pjk7ap6BpaZk8d4CXCCdmhOWY/NfnTUzLYRH1pr3T0TFkSp5MAuaT PL4C0ph/BADCuyQhXlTgg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduheejgeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepjefhveehtdetgfffhffhfeefgffghffflefgieeuueekhedv hedvfeehffdvfeeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgvghiuggrvhdrphhgsehgmh grihhlrdgtohhmpdhrtghpthhtoheplhhirdgvvhgrnhdrtghhrghosehgmhgrihhlrdgt ohhmpdhrtghpthhtoheprhhosggvrhhtmhhhrggrshesghhmrghilhdrtghomhdprhgtph htthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhspdhrtghpthhtohepphhgshhqlhdq hhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jan 2026 05:20:06 -0500 (EST) Message-ID: <9d4fb5e5-b1c5-4e56-865d-93ba6a390022@eisentraut.org> Date: Mon, 26 Jan 2026 11:20:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: get rid of Pointer type, mostly To: David Geier , Chao Li Cc: Robert Haas , Tom Lane , pgsql-hackers References: <4154950a-47ae-4223-bd01-1235cc50e933@eisentraut.org> <955002.1764000569@sss.pgh.pa.us> <957744.1764002037@sss.pgh.pa.us> <970261.1764008763@sss.pgh.pa.us> <987824.1764013105@sss.pgh.pa.us> <7c7e1e59-284b-49f6-a496-17dd4170f979@gmail.com> <2b929da1-dbb5-476f-a878-899b1e9e80f2@gmail.com> <8B037F29-163E-4446-BA94-7553C9ECA0F1@gmail.com> <0d5ca69a-91c7-4efb-a53a-9948a4f32717@gmail.com> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <0d5ca69a-91c7-4efb-a53a-9948a4f32717@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 08.12.25 12:27, David Geier wrote: > On 08.12.2025 12:14, Peter Eisentraut wrote: >> I was planning to proceed with Dagfinn's patch set.  Here is what is >> currently remaining of the patch series.  I haven't fully processed >> everyone's comments in this thread, so they might not be reflected in >> these patches. > Dagfinn's patch set turns Pointer into void *. I thought we had agreed > to use something like GinExtraPointer in the GIN code (see my patch set). > > Either way is fine by me. It just seemed like the majority of commenters > where in favor of keeping some type in the GIN code for readability. After further consideration, I think it is best to leave this alone as is. One particular problem is that Pointer is part of the documented API of GIN, and if we either remove it or rename it, then this would create a bunch of work for extensions to keep their code compiling across major versions.