| From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
|---|---|
| To: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> |
| Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Small optimization set tuple block/tableOid once |
| Date: | 2026-01-04 09:20:00 |
| Message-ID: | CAApHDvoAcEVUA9ybGRx2yQbz67pC9GUm1DsA6y0TpiSUzPd3mQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, 3 Apr 2025 at 23:09, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> rebased heapam.c and heapam_handler.c
This doesn't work. The tids are not being set in all cases.
patched:
select tableoid,ctid,oid from pg_class TABLESAMPLE BERNOULLI (100);
tableoid | ctid | oid
----------+---------+-------
1259 | (0,0) | 16409
1259 | (0,0) | 16403
1259 | (0,0) | 16412
1259 | (0,0) | 16407
1259 | (0,0) | 16415
1259 | (0,0) | 16418
1259 | (0,0) | 16434
...
master:
tableoid | ctid | oid
----------+---------+-------
1259 | (0,10) | 16409
1259 | (0,11) | 16403
1259 | (0,12) | 16412
1259 | (0,13) | 16407
1259 | (0,15) | 16415
1259 | (0,16) | 16418
1259 | (0,17) | 16434
...
David
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chao Li | 2026-01-04 09:24:12 | Re: Fix typo in code comment |
| Previous Message | David Rowley | 2026-01-04 08:38:06 | Re: Correction of RowMark Removal During Sel-Join Elimination |