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 1vSZOr-0014et-2E for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Dec 2025 11:27:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vSZOo-00GZSp-31 for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Dec 2025 11:27:27 +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 1vSZOo-00GZSh-1p for pgsql-hackers@lists.postgresql.org; Mon, 08 Dec 2025 11:27:26 +0000 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vSZOl-003kFp-39 for pgsql-hackers@postgresql.org; Mon, 08 Dec 2025 11:27:25 +0000 Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-450ac3ed719so2892912b6e.0 for ; Mon, 08 Dec 2025 03:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765193244; x=1765798044; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4m5sa3Jp5IsjhzL2LWvtDVAjOt1UiT9MTQfdb0Mx3LA=; b=WlYnHpipsk/TJZWnkYfo+XjrzOYz54/qmmH9SrckJEG5/WIUCsnplojAgVBKjYXtQ4 H/zSeRfMB6Dp3MNLpIiCFrZzReBwWQq0qfItIp4DkJQhF3XnE0ptK0O0QPsD6qcugiuz OQLXvxom4ukAhd57mfgdbJM+Bdz9WJfqj/dW2xbEwPdOkQUAN1//uW7+/UcnrussiujH dgC1cRykA9UPAw7Vg0erp+d4ZgP9XFp5A8V867xfmMMQVQ7iPZWsvFA2HwPAUOhKlhQj yfnQbtozSjcrZGs51um0ojCOPFSX3tE18F7/T9qUMeUqCX1cOHjW0sbeJV0lpNfcQ84+ m5BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765193244; x=1765798044; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4m5sa3Jp5IsjhzL2LWvtDVAjOt1UiT9MTQfdb0Mx3LA=; b=ZcbRyYsUkEF342Mu39myx9+9LVN+RUY1n5Osd0lEv8wd+WibWev7dMXbQMYWlx00cy 5q4xiPjUnPHpfQVt4XbPqhwOEp0zkxAVEv9K0DnIOu7vRwn6uOuouQVGaPCWJzo3hStd OTS5SU1vNTOqb2rWMvV1FGFv0967u1UB7godfEWOrKBioZHmAFtDvcqIDgaQcnojaBsC hdW3A+voI0SLxsbbd3Y2zrKo6soSHRozuB/xKgN4EO6H8jTYPgXJ4wCs1r6Yi3GlhLAC h0BKTgEP7Bl9YA6Z0rJQPl4T9vGgPq2MY46ra++gD5fwccgYB8QtGWErWQQ8/zI9FMHG RaHQ== X-Forwarded-Encrypted: i=1; AJvYcCUZM8UpCBv7rKcEcmHmrrUgo/zpYqcJSXJwOT1Yl4iP3qy+berj3IfiskiIob3TVZKMZW6EpGfsMpgvxnGO@postgresql.org X-Gm-Message-State: AOJu0YyT9Ja1h9OVAWlMJVAk/xwEt4DgBB4Xj97xMmD7x+9PDwX7hEQG bc1G9PKpCyvo0n1KIKLv4fXilFy+KPFsD3GVCgZKVoxvmT5KA7tZH718 X-Gm-Gg: ASbGncsZZFcdQQrgIq2aa+vlsqIbPSzKauYeS6Z1KLH3GKzudQGtDw+hUwgswKPK+In mMwRfbO7+JG2OaUBnMtyyl1y3AOhKIS0jfF33qtl6pwZWONImC6Pe7ecoo3GXMENpfjCtv9b/xZ d0QnoWja3OSXN/2j6fNGwPlbY4mLn5I3AHfgZzDQVLhBqLaZP3UzyXq3cUXk8lrjKtcZw9uvxwo yfu9bKrNjGee6VXyDbdyMAhEx1Rk7MTTPlDAQ8cbzl1LumYAlHRpgaP5KVCyi+QgLW9JU9lbbST SJvOgLj1dLYj90Rboexj2A5I17BuM2qxxn+ySR3mfSAyVi9xXXk9NaTMaVtlDszgSWSoQpjh+Hr ezqogd5sotSVKjKmS1cGttsYyp+Ydaa0VRAtAmaC+a+n0aUE9DV29ZDgxk+typgEdE5vgQ9zDY9 3tXtuWRTUjeGaQsPBWGU8BKufA2ZVmY0nf5jg/x0+eEcousew9DWFm6Wlwvcnn X-Google-Smtp-Source: AGHT+IEQuC1DYinRHPyzz+s1RkrFUYCSHKudRJ35y7bI7gaXJ73vhnuvC9N55iDxHccasoj6j5f9pg== X-Received: by 2002:a05:6808:524b:b0:450:ac7e:cb7a with SMTP id 5614622812f47-4539e08a26emr2973768b6e.34.1765193244010; Mon, 08 Dec 2025 03:27:24 -0800 (PST) Received: from [10.255.187.72] (vip-148-139-2-229.cust.service-now.com. [148.139.2.229]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7c95ac84f1dsm9725549a34.19.2025.12.08.03.27.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Dec 2025 03:27:23 -0800 (PST) Message-ID: <0d5ca69a-91c7-4efb-a53a-9948a4f32717@gmail.com> Date: Mon, 8 Dec 2025 12:27:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: get rid of Pointer type, mostly To: Peter Eisentraut , 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> Content-Language: en-US From: David Geier In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. > > There is some interference from the changes from palloc to > palloc_object/_array/etc., and I was also trying to figure out what to > do with the commented out code, hence the delay. Understood. -- David Geier