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 1raIK7-00931e-2w for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Feb 2024 16:41:27 +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 1raIK5-007JfL-Oa for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Feb 2024 16:41:25 +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 1raIK5-007Jf9-Dv for pgsql-hackers@lists.postgresql.org; Wed, 14 Feb 2024 16:41:25 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1raIK1-006jpH-AE for pgsql-hackers@postgresql.org; Wed, 14 Feb 2024 16:41:23 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6e104196e6eso1459739b3a.0 for ; Wed, 14 Feb 2024 08:41:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1707928880; x=1708533680; darn=postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=81TUcyob+TREPjj1nKQhXiLVyraz2BN37s4guyRsXrY=; b=B9ClX6+w2uyGecZ0VqZtM+l420QIAUkzSwDn03IqgR84LdTV3HohdDwNlUBj3fSX4J 4pIZIJs8uPOnE/XVeGftuvH6R9MDuvMwoHaxtTqUAsi3rPMUFYKfBTfL/J7onSQ8028R BZAUu4d09/0EETEfNiZeVt+m4VgdKRXxtlZTR9GX6bNIGgwZ8qN6WdgShC6gyFpLw4Nj SgDcLi2LS11CJD1WpyJrm2zEi05fPtrtRF+DyXg7ei9yfOMa15BrRfiXjOoNIRTwMCkq 8ldrd+IMxhRPycmdtCCw4dAvhVhHW0ABo8MeArB9RHRPGJ6j66IKM29TF3lCKcewk5HM r/vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707928880; x=1708533680; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=81TUcyob+TREPjj1nKQhXiLVyraz2BN37s4guyRsXrY=; b=IXztDILOl2uWywZCmTwKE8hUHwHjk+6yTuk9/jYoA4RgohktWJDIfl+7Tt5UoItnez UhkPqhVJYvq8156n3HGUYwdYEmddnSoabHlcj3WGbJaguddmOWc1fbhRGO4HGsHqQoVU EzO9gd/+wHmcpa1vk8QA2a0CTI+kEtZGsu60TeP1WB6MeZBnmbgMM5L9Wxw7jgb2SNLu H+3UwUnBmGw3XG7BS1mqeApfoDsibQJkYxXva1Ebt3OsMsjhThg/41oZrKuw3NM8CnRB ZyPdb2jKcKOw+jBdxxhfHnDK90nvGX7fSTbYdHdQVbXX+ygdarBqNUCapeNGAb+xpJcY OzCg== X-Gm-Message-State: AOJu0YzGHegQvylYT2WVp45R6Z7K4T5qA6rb0eQSR45jRGtpghD9b4eT zaTp2q9HwcsbbCEsji5USt/jotNGhEJLh+MlJLLYwfG/mhPvU1z0nxf1Z5YM4w== X-Google-Smtp-Source: AGHT+IFL4TVMKcw5qonN7eiUHwDnqAMu8ChKph8HnsOTmW7WbSK+yM3qTb6kF02lnkJQJlT5iyMLIg== X-Received: by 2002:a05:6a00:d48:b0:6e0:25d7:debc with SMTP id n8-20020a056a000d4800b006e025d7debcmr2552435pfv.24.1707928880050; Wed, 14 Feb 2024 08:41:20 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWumT1lYoDOLac9sZ+U5uN1zcFFq8iGBbNuveSKakThjABaO0gZ5l1VnDDx9CB6t4UBWuL8A9M8j6LBxnqH2+Ny/WiF4vBf3SYpUwhoD4fW8OX5OvBJK/4Uw4XXzfhI15lihtFEP9dsK5u0YA1pez9JRHER7qGMwEO5db5HpILD Received: from smtpclient.apple (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id fm25-20020a056a002f9900b006d9be279432sm9537746pfb.2.2024.02.14.08.41.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2024 08:41:19 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: BitmapHeapScan streaming read user and prelim refactoring From: Mark Dilger In-Reply-To: Date: Wed, 14 Feb 2024 08:41:20 -0800 Cc: Pg Hackers , Andres Freund , Thomas Munro , Heikki Linnakangas , Nazir Bilal Yavuz Content-Transfer-Encoding: quoted-printable Message-Id: <4184401B-2772-452E-BC02-60A64EC1FD8D@enterprisedb.com> References: <8DE07ADE-1D86-4680-8793-057FAAE35B5C@enterprisedb.com> To: Melanie Plageman X-Mailer: Apple Mail (2.3731.700.6) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Feb 14, 2024, at 6:47 AM, Melanie Plageman = wrote: >=20 > Just curious, did your table AM implement > table_scan_bitmap_next_block() and table_scan_bitmap_next_tuple(), > and, if so, did you use the TBMIterateResult? Since it is not used in > BitmapHeapNext() in my version, table AMs would have to change how > they use TBMIterateResults anyway. But I assume they could add it to a > table AM specific scan descriptor if they want access to a > TBMIterateResult of their own making in both > table_san_bitmap_next_block() and next_tuple()? My table AM does implement those two functions and does use the = TBMIterateResult *tbmres argument, yes. I would deal with the issue in = very much the same way that your patches modify heapam. I don't really = have any additional comments about that. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company